summary refs log tree commit diff
path: root/pkgs/development/python-modules/pep440/default.nix
blob: 83187327af1709eab7823e799c3f4c6d6a4c66df (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
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "pep440";
  version = "0.1.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "m1H/yqqDiFrj6tmD9jo8nDakCBZxkBPq/HtSOXMH4ZQ=";
  };

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "pep440"
  ];

  meta = with lib; {
    description = "Python module to check whether versions number match PEP 440";
    homepage = "https://github.com/Carreau/pep440";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}