depot/third_party/nixpkgs/pkgs/development/python-modules/pyparser/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

31 lines
682 B
Nix

{
buildPythonPackage,
lib,
fetchFromBitbucket,
parse,
}:
buildPythonPackage rec {
pname = "pyparser";
version = "1.0";
format = "setuptools";
# 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 ];
};
}