mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
29 lines
674 B
Nix
29 lines
674 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 ];
|
|
};
|
|
}
|