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