evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / unearth / default.nix
blob8710237952330dfc553749da9c243b7d6f69fc76
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   packaging,
7   pdm-backend,
8   httpx,
9   flask,
10   pytest-httpserver,
11   pytest-mock,
12   pytestCheckHook,
13   requests-wsgi-adapter,
14   trustme,
17 buildPythonPackage rec {
18   pname = "unearth";
19   version = "0.17.2";
20   pyproject = true;
22   disabled = pythonOlder "3.8";
24   src = fetchPypi {
25     inherit pname version;
26     hash = "sha256-C4oq/TR28athVfxXlQGsR//+Q1R9iKcOWlt2p/5sqiw=";
27   };
29   build-system = [ pdm-backend ];
31   dependencies = [
32     packaging
33     httpx
34   ];
36   __darwinAllowLocalNetworking = true;
38   nativeCheckInputs = [
39     flask
40     pytest-httpserver
41     pytest-mock
42     pytestCheckHook
43     requests-wsgi-adapter
44     trustme
45   ];
47   pythonImportsCheck = [ "unearth" ];
49   meta = with lib; {
50     description = "Utility to fetch and download Python packages";
51     mainProgram = "unearth";
52     homepage = "https://github.com/frostming/unearth";
53     changelog = "https://github.com/frostming/unearth/releases/tag/${version}";
54     license = licenses.mit;
55     maintainers = with maintainers; [ betaboon ];
56   };