uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
28
pkgs/development/python-modules/cgroup-utils/default.nix
Normal file
28
pkgs/development/python-modules/cgroup-utils/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, pep8, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.8";
|
||||
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 = "0qnbn8cnq8m14s8s1hcv25xjd55dyb6yy54l5vc7sby5xzzp11fq";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utility tools for control groups of Linux";
|
||||
maintainers = with maintainers; [ layus ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue