ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / unearth / default.nix
blobc1207413693038cc8b96d07fe6892d4963b7108f
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
6 , cached-property
7 , packaging
8 , pdm-pep517
9 , requests
11 , flask
12 , pytest-httpserver
13 , pytestCheckHook
14 , requests-wsgi-adapter
15 , trustme
18 buildPythonPackage rec {
19   pname = "unearth";
20   version = "0.6.1";
21   format = "pyproject";
22   disabled = pythonOlder "3.7";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-S3v719NKEWc9gN+uf6u/khwTmqx4OD+wyhapDTtTpm4=";
27   };
29   nativeBuildInputs = [
30     pdm-pep517
31   ];
33   propagatedBuildInputs = [
34     packaging
35     requests
36   ] ++ lib.optionals (pythonOlder "3.8") [
37     cached-property
38   ];
40   checkInputs = [
41     flask
42     pytest-httpserver
43     pytestCheckHook
44     requests-wsgi-adapter
45     trustme
46   ];
48   meta = with lib; {
49     homepage = "https://github.com/frostming/unearth";
50     description = "A utility to fetch and download python packages";
51     license = licenses.mit;
52     maintainers = with maintainers; [ betaboon ];
53   };