Merge pull request #107512 from thiagokokada/bump-cpuset
This commit is contained in:
commit
09794ef0dd
@ -1,27 +1,44 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, python2Packages
|
, fetchpatch
|
||||||
|
, pythonPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python2Packages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
pname = "cpuset";
|
pname = "cpuset";
|
||||||
version = "1.5.8";
|
version = "1.6";
|
||||||
|
|
||||||
propagatedBuildInputs = [ ];
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
|
configparser
|
||||||
|
future
|
||||||
|
];
|
||||||
|
|
||||||
|
# https://github.com/lpechacek/cpuset/pull/36
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/MawKKe/cpuset/commit/a4b6b275d0a43d2794ab9e82922d3431aeea9903.patch";
|
||||||
|
sha256 = "1mi1xrql81iczl67s4dk2rm9r1mk36qhsa19wn7zgryf95krsix2";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
makeFlags = [ "prefix=$(out)" ];
|
makeFlags = [ "prefix=$(out)" ];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wykurz";
|
owner = "lpechacek";
|
||||||
repo = "cpuset";
|
repo = "cpuset";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "19fl2sn470yrnm2q508giggjwy5b6r2gd94gvwfbdlhf0r9dsbbm";
|
sha256 = "0ig0ml2zd5542d0989872vmy7cs3qg7nxwa93k42bdkm50amhar4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
cd t
|
||||||
|
make
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Python application that forms a wrapper around the standard Linux filesystem calls to make using the cpusets facilities in the Linux kernel easier";
|
description = "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";
|
homepage = "https://github.com/lpechacek/cpuset";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [ wykurz ];
|
maintainers = with maintainers; [ thiagokokada wykurz ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -18065,7 +18065,9 @@ in
|
|||||||
|
|
||||||
cpufrequtils = callPackage ../os-specific/linux/cpufrequtils { };
|
cpufrequtils = callPackage ../os-specific/linux/cpufrequtils { };
|
||||||
|
|
||||||
cpuset = callPackage ../os-specific/linux/cpuset { };
|
cpuset = callPackage ../os-specific/linux/cpuset {
|
||||||
|
pythonPackages = python3Packages;
|
||||||
|
};
|
||||||
|
|
||||||
criu = callPackage ../os-specific/linux/criu { };
|
criu = callPackage ../os-specific/linux/criu { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user