nixpkgs/pkgs/os-specific/linux/schedtool/default.nix

24 lines
611 B
Nix
Raw Normal View History

2019-06-03 18:19:43 +02:00
{ stdenv, fetchFromGitHub }:
2015-04-22 15:53:18 +02:00
stdenv.mkDerivation rec {
pname = "schedtool";
2019-06-03 18:19:43 +02:00
version = "1.3.0";
2015-04-22 15:53:18 +02:00
2019-06-03 18:19:43 +02:00
src = fetchFromGitHub {
owner = "freequaos";
repo = "schedtool";
rev = "${pname}-${version}";
2019-06-03 18:19:43 +02:00
sha256 = "1wdw6fnf9a01xfjhdah3mn8bp1bvahf2lfq74i6hk5b2cagkppyp";
2015-04-22 15:53:18 +02:00
};
makeFlags = [ "DESTDIR=$(out)" "DESTPREFIX=" ];
meta = with stdenv.lib; {
description = "Query or alter a process' scheduling policy under Linux";
homepage = http://freequaos.host.sk/schedtool/;
2015-04-22 15:53:18 +02:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}