diff --git a/pkgs/os-specific/linux/schedtool/default.nix b/pkgs/os-specific/linux/schedtool/default.nix new file mode 100644 index 00000000000..b2d85376c6a --- /dev/null +++ b/pkgs/os-specific/linux/schedtool/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "schedtool-1.3.0"; + + src = fetchurl { + url = "http://freequaos.host.sk/schedtool/${name}.tar.bz2"; + sha256 = "1ky8q3jg4lsxbnlmm51q3jkxh160zy0l6a4xkdy2yncxc4m2l02f"; + }; + + makeFlags = [ "DESTDIR=$(out)" "DESTPREFIX=" ]; + + meta = with stdenv.lib; { + description = "Query or alter a process' scheduling policy under Linux"; + homepage = "http://freequaos.host.sk/schedtool/"; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ abbradar ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b21cf2e2a9d..08ce7a8603f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9525,6 +9525,8 @@ let sassc = callPackage ../development/tools/sassc { }; + schedtool = callPackage ../os-specific/linux/schedtool { }; + sdparm = callPackage ../os-specific/linux/sdparm { }; sepolgen = callPackage ../os-specific/linux/sepolgen { };