ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / dparse / default.nix
blobd91bdb507a6590ea73670ee2e1ea596459821fba
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , toml
6 , pyyaml
7 , packaging
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "dparse";
13   version = "0.6.2";
14   format = "setuptools";
16   disabled = pythonOlder "3.5";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-1FJVvaIfmYvH3fKv1eYlBbphNHVrotQqhMVrCCZhTf4=";
21   };
23   propagatedBuildInputs = [
24     toml
25     pyyaml
26     packaging
27   ];
29   checkInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "dparse"
35   ];
37   disabledTests = [
38     # requires unpackaged dependency pipenv
39     "test_update_pipfile"
40   ];
42   meta = with lib; {
43     description = "A parser for Python dependency files";
44     homepage = "https://github.com/pyupio/dparse";
45     license = licenses.mit;
46     maintainers = with maintainers; [ thomasdesr ];
47   };