ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pep440 / default.nix
blobebaade39ce990c3ba2f51d9c9d1d411aab7188d4
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , flit-core
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "pep440";
11   version = "0.1.2";
12   format = "flit";
14   disabled = pythonOlder "3.8";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-WLNyRswrE/7hyio8CSyzcE0h7PYhpb27Fo5E5pf20E0=";
19   };
21   nativeBuildInputs = [
22     flit-core
23   ];
25   checkInputs = [
26     pytestCheckHook
27   ];
29   disabledTestPaths = [
30     # Don't run CLI tests
31     "tests/test_cli.py"
32   ];
34   pythonImportsCheck = [
35     "pep440"
36   ];
38   meta = with lib; {
39     description = "Python module to check whether versions number match PEP 440";
40     homepage = "https://github.com/Carreau/pep440";
41     license = licenses.mit;
42     maintainers = with maintainers; [ fab ];
43   };