depot/third_party/nixpkgs/pkgs/os-specific/linux/schedtool/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
613 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "schedtool";
version = "1.3.0";
src = fetchFromGitHub {
owner = "freequaos";
repo = "schedtool";
rev = "${pname}-${version}";
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 ];
};
}