diff options
author | Silvan Mosberger <infinisil@icloud.com> | 2018-11-08 01:58:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-08 01:58:50 +0100 |
commit | 2bdec61194bcbea1403b5d9fe72205f230bb6c57 (patch) | |
tree | 16242ced451cfd5960b635141b451c8c788df24f /pkgs/os-specific | |
parent | 619c39e5c951b0ac10ae9c967a7986fb486df39a (diff) | |
parent | 094105efa10dcc35e143ada74edfcf1ea210c786 (diff) | |
download | nixpkgs-2bdec61194bcbea1403b5d9fe72205f230bb6c57.tar nixpkgs-2bdec61194bcbea1403b5d9fe72205f230bb6c57.tar.gz nixpkgs-2bdec61194bcbea1403b5d9fe72205f230bb6c57.tar.bz2 nixpkgs-2bdec61194bcbea1403b5d9fe72205f230bb6c57.tar.lz nixpkgs-2bdec61194bcbea1403b5d9fe72205f230bb6c57.tar.xz nixpkgs-2bdec61194bcbea1403b5d9fe72205f230bb6c57.tar.zst nixpkgs-2bdec61194bcbea1403b5d9fe72205f230bb6c57.zip |
Merge pull request #48765 from wykurz/cpuset
cpuset: init at 1.5.8
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/cpuset/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/cpuset/default.nix b/pkgs/os-specific/linux/cpuset/default.nix new file mode 100644 index 00000000000..5791145d52a --- /dev/null +++ b/pkgs/os-specific/linux/cpuset/default.nix @@ -0,0 +1,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 ]; + }; +} |