mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
45 lines
814 B
Nix
45 lines
814 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools,
|
|
attrs,
|
|
pytestCheckHook,
|
|
hypothesis,
|
|
pretend,
|
|
arpeggio,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "parver";
|
|
version = "0.5";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-uf3h5ruc6fB+COnEvqjYglxeeOGKAFLQLgK/lRfrR3c=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
attrs
|
|
arpeggio
|
|
] ++ lib.optionals (pythonOlder "3.10") [ typing-extensions ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
hypothesis
|
|
pretend
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Allows parsing and manipulation of PEP 440 version numbers";
|
|
homepage = "https://github.com/RazerM/parver";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|