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
44
pkgs/development/python-modules/configshell/default.nix
Normal file
44
pkgs/development/python-modules/configshell/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, pyparsing
|
||||
, six
|
||||
, urwid
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "configshell";
|
||||
version = "1.1.29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-iscsi";
|
||||
repo = "${pname}-fb";
|
||||
rev = "v${version}";
|
||||
sha256 = "0mjj3c9335sph8rhwww7j4zvhyk896fbmx887vibm89w3jpvjjr9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyparsing
|
||||
six
|
||||
urwid
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "pyparsing >=2.0.2,<3.0" "pyparsing >=2.0.2"
|
||||
'';
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"configshell"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for building configuration shells";
|
||||
homepage = "https://github.com/open-iscsi/configshell-fb";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue