24 lines
604 B
Nix
24 lines
604 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "schedtool-${version}";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "freequaos";
|
|
repo = "schedtool";
|
|
rev = name;
|
|
sha256 = "1wdw6fnf9a01xfjhdah3mn8bp1bvahf2lfq74i6hk5b2cagkppyp";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|