From 96a153925623144e69d436b9c95177bc39e9ef8a Mon Sep 17 00:00:00 2001 From: Guillaume Maudoux Date: Mon, 10 Aug 2015 20:45:45 +0200 Subject: [PATCH] python-cgroup-utils: init at 0.6 --- lib/maintainers.nix | 1 + pkgs/top-level/python-packages.nix | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/lib/maintainers.nix b/lib/maintainers.nix index ccce0d2e60dc..b43b8385f550 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -143,6 +143,7 @@ kragniz = "Louis Taylor "; ktosiek = "Tomasz Kontusz "; lassulus = "Lassulus "; + layus = "Guillaume Maudoux "; lebastr = "Alexander Lebedev "; leonardoce = "Leonardo Cecchi "; lethalman = "Luca Bruno "; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9e31283c16fc..7f4d46559671 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1104,6 +1104,29 @@ let propagatedBuildInputs = with self; [ boto crcmod psutil ]; }; + cgroup-utils = buildPythonPackage rec { + version = "0.6"; + name = "cgroup-utils-${version}"; + + propagatedBuildInputs = with self; [ argparse ]; + buildInputs = with self; [ pep8 nose ]; + # Pep8 tests fail... + doCheck = false; + + src = pkgs.fetchFromGitHub { + owner = "peo3"; + repo = "cgroup-utils"; + rev = "v${version}"; + sha256 = "1ck0aijzrg9xf6hjdxnynkapnyxw0y385jb0q7wyq4jf77ayfszc"; + }; + + meta = { + description = "Utility tools for control groups of Linux"; + maintainers = with maintainers; [ layus ]; + license = licenses.gpl2; + }; + }; + circus = buildPythonPackage rec { name = "circus-0.11.1";