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
27
pkgs/development/python-modules/pyparser/default.nix
Normal file
27
pkgs/development/python-modules/pyparser/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ buildPythonPackage, lib, fetchFromBitbucket
|
||||
, parse
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyparser";
|
||||
version = "1.0";
|
||||
|
||||
# Missing tests on Pypi
|
||||
src = fetchFromBitbucket {
|
||||
owner = "rw_grim";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0aplb4zdpgbpmaw9qj0vr7qip9q5w7sl1m1lp1nc9jmjfij9i0hf";
|
||||
};
|
||||
|
||||
postPatch = "sed -i 's/parse==/parse>=/' requirements.txt";
|
||||
|
||||
propagatedBuildInputs = [ parse ];
|
||||
|
||||
meta = {
|
||||
description = "Simple library that makes it easier to parse files";
|
||||
homepage = "https://bitbucket.org/rw_grim/pyparser";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.nico202 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue