summary refs log blame commit diff
path: root/pkgs/development/python-modules/cgroup-utils/default.nix
blob: 7496e7e1fcceac3d31dc18bc7c5c0889ee8318e2 (plain) (tree)
1
2
3
4
5



                                                            
                         


















                                                                    
                                


                            
{ stdenv, buildPythonPackage, fetchFromGitHub, pep8, nose }:

buildPythonPackage rec {
  version = "0.6";
  pname = "cgroup-utils";

  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}";
    sha256 = "1ck0aijzrg9xf6hjdxnynkapnyxw0y385jb0q7wyq4jf77ayfszc";
  };

  meta = with stdenv.lib; {
    description = "Utility tools for control groups of Linux";
    maintainers = with maintainers; [ layus ];
    platforms = platforms.linux;
    license = licenses.gpl2;
  };
}