blob: b18d7db34766bc067d2342927b16f48362604d71 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ 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 = with maintainers; [ ];
};
}
|