mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
pyparser: init at 1.0
This commit is contained in:
parent
e6a42f8252
commit
1e5216751e
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 ];
|
||||
};
|
||||
}
|
@ -330,6 +330,8 @@ in {
|
||||
callPackage = pkgs.callPackage;
|
||||
};
|
||||
|
||||
pyparser = callPackage ../development/python-modules/pyparser { };
|
||||
|
||||
pyqt4 = callPackage ../development/python-modules/pyqt/4.x.nix {
|
||||
pythonPackages = self;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user