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