2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2015-04-22 14:53:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
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";
|
2019-08-15 13:41:18 +01:00
|
|
|
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=" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-04-22 14:53:18 +01:00
|
|
|
description = "Query or alter a process' scheduling policy under Linux";
|
2020-10-02 08:58:50 +01:00
|
|
|
homepage = "https://freequaos.host.sk/schedtool/";
|
2015-04-22 14:53:18 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|