summary refs log tree commit diff
path: root/pkgs/os-specific/linux/cpuset/default.nix
blob: 0a9b38f2888b5f47125899ec3e571e1b6a436796 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv
, fetchFromGitHub
, python2Packages
}:

python2Packages.buildPythonApplication rec {
  pname = "cpuset";
  version = "1.5.8";

  propagatedBuildInputs = [ ];

  makeFlags = [ "prefix=$(out)" ];

  src = fetchFromGitHub {
    owner = "wykurz";
    repo = "cpuset";
    rev = "v${version}";
    sha256 = "19fl2sn470yrnm2q508giggjwy5b6r2gd94gvwfbdlhf0r9dsbbm";
  };

  meta = with stdenv.lib; {
    description = "Cpuset is a Python application that forms a wrapper around the standard Linux filesystem calls to make using the cpusets facilities in the Linux kernel easier.";
    homepage    = "https://github.com/wykurz/cpuset";
    license     = licenses.gpl2;
    maintainers = with maintainers; [ wykurz ];
  };
}