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

24 lines
611 B
Nix
Raw Normal View History

2019-06-03 17:19:43 +01:00
{ stdenv, fetchFromGitHub }:
2015-04-22 14:53:18 +01:00
stdenv.mkDerivation rec {
pname = "schedtool";
2019-06-03 17:19:43 +01:00
version = "1.3.0";
2015-04-22 14:53:18 +01:00
2019-06-03 17:19:43 +01:00
src = fetchFromGitHub {
owner = "freequaos";
repo = "schedtool";
rev = "${pname}-${version}";
2019-06-03 17:19:43 +01:00
sha256 = "1wdw6fnf9a01xfjhdah3mn8bp1bvahf2lfq74i6hk5b2cagkppyp";
2015-04-22 14:53:18 +01: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 14:53:18 +01:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}