Merge pull request #279590 from thiagokokada/bump-cpuset
cpuset: 1.6 -> 1.6.2
This commit is contained in:
commit
494fdd1c93
35
pkgs/by-name/cp/cpuset/package.nix
Normal file
35
pkgs/by-name/cp/cpuset/package.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "cpuset";
|
||||
version = "1.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lpechacek";
|
||||
repo = "cpuset";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-fW0SXNI10pb6FTn/2TOqxP9qlys0KL/H9m//NjslUaY=";
|
||||
};
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
make -C t
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with 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";
|
||||
homepage = "https://github.com/SUSE/cpuset";
|
||||
license = licenses.gpl2;
|
||||
mainProgram = "cset";
|
||||
maintainers = with maintainers; [ wykurz ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pythonPackages
|
||||
}:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "cpuset";
|
||||
version = "1.6";
|
||||
|
||||
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)" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lpechacek";
|
||||
repo = "cpuset";
|
||||
rev = "v${version}";
|
||||
sha256 = "0ig0ml2zd5542d0989872vmy7cs3qg7nxwa93k42bdkm50amhar4";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
cd t
|
||||
make
|
||||
'';
|
||||
|
||||
meta = with 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";
|
||||
homepage = "https://github.com/lpechacek/cpuset";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ thiagokokada wykurz ];
|
||||
mainProgram = "cset";
|
||||
};
|
||||
}
|
@ -27727,10 +27727,6 @@ with pkgs;
|
||||
inherit (pkgs) meson;
|
||||
};
|
||||
|
||||
cpuset = callPackage ../os-specific/linux/cpuset {
|
||||
pythonPackages = python3Packages;
|
||||
};
|
||||
|
||||
criu = callPackage ../os-specific/linux/criu { };
|
||||
|
||||
cryptomator = callPackage ../tools/security/cryptomator {
|
||||
|
Loading…
Reference in New Issue
Block a user