nixpkgs/pkgs/os-specific/linux/schedtool/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
612 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2015-04-22 13:53:18 +00:00
stdenv.mkDerivation rec {
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";
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=" ];
meta = with lib; {
2015-04-22 13:53:18 +00:00
description = "Query or alter a process' scheduling policy under Linux";
homepage = "https://freequaos.host.sk/schedtool/";
2015-04-22 13:53:18 +00:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}