2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, pep8, nose }:
|
2017-08-28 09:47:38 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-03-30 13:13:36 +01:00
|
|
|
version = "0.8";
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "cgroup-utils";
|
2017-08-28 09:47:38 +01:00
|
|
|
|
|
|
|
buildInputs = [ pep8 nose ];
|
|
|
|
# Pep8 tests fail...
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i -e "/argparse/d" setup.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "peo3";
|
|
|
|
repo = "cgroup-utils";
|
|
|
|
rev = "v${version}";
|
2020-03-30 13:13:36 +01:00
|
|
|
sha256 = "0qnbn8cnq8m14s8s1hcv25xjd55dyb6yy54l5vc7sby5xzzp11fq";
|
2017-08-28 09:47:38 +01:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-08-28 09:47:38 +01:00
|
|
|
description = "Utility tools for control groups of Linux";
|
|
|
|
maintainers = with maintainers; [ layus ];
|
2017-09-30 19:44:09 +01:00
|
|
|
platforms = platforms.linux;
|
2017-08-28 09:47:38 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|