diff options
author | Mateusz Wykurz <wykurz@gmail.com> | 2018-10-20 14:18:27 -0400 |
---|---|---|
committer | Mateusz Wykurz <wykurz@gmail.com> | 2018-10-28 21:16:30 -0400 |
commit | 094105efa10dcc35e143ada74edfcf1ea210c786 (patch) | |
tree | 1d7407dfec69e9acec991f4dfb3452eb5a7b7563 /pkgs/os-specific/linux/cpuset | |
parent | 7c0fbdfc70e669bb4d162a8caab4b2056f047b59 (diff) | |
download | nixpkgs-094105efa10dcc35e143ada74edfcf1ea210c786.tar nixpkgs-094105efa10dcc35e143ada74edfcf1ea210c786.tar.gz nixpkgs-094105efa10dcc35e143ada74edfcf1ea210c786.tar.bz2 nixpkgs-094105efa10dcc35e143ada74edfcf1ea210c786.tar.lz nixpkgs-094105efa10dcc35e143ada74edfcf1ea210c786.tar.xz nixpkgs-094105efa10dcc35e143ada74edfcf1ea210c786.tar.zst nixpkgs-094105efa10dcc35e143ada74edfcf1ea210c786.zip |
cpuset: init at 1.5.8
Diffstat (limited to 'pkgs/os-specific/linux/cpuset')
-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 ]; + }; +} |