summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/parver/default.nix
blob: c530c45270993bf7bb2147362e6e8b3accb416ea (plain)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  attrs,
  pytestCheckHook,
  hypothesis,
  pretend,
  arpeggio,
}:

buildPythonPackage rec {
  pname = "parver";
  version = "0.5";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-uf3h5ruc6fB+COnEvqjYglxeeOGKAFLQLgK/lRfrR3c=";
  };

  nativeBuildInputs = [ setuptools ];

  propagatedBuildInputs = [
    attrs
    arpeggio
  ];

  nativeCheckInputs = [
    pytestCheckHook
    hypothesis
    pretend
  ];

  meta = {
    description = "Allows parsing and manipulation of PEP 440 version numbers";
    homepage = "https://github.com/RazerM/parver";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}