Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / openrouteservice / default.nix
blob72945907d4ebdfec45b1c95678c889ede0f1bd1e
1 { lib, buildPythonPackage, fetchFromGitHub, responses, pytestCheckHook }:
3 buildPythonPackage rec {
4   pname = "openrouteservice";
5   version = "2.3.3";
6   format = "setuptools";
8   src = fetchFromGitHub {
9     owner = "GIScience";
10     repo = "${pname}-py";
11     rev = "v${version}";
12     sha256 = "1d5qbygb81fhpwfdm1a118r3xv45xz9n9avfkgxkvw1n8y6ywz2q";
13   };
15   nativeCheckInputs = [ pytestCheckHook responses ];
17   disabledTests = [
18     # touches network
19     "test_optimized_waypoints"
20     "test_invalid_api_key"
21     "test_raise_timeout_retriable_requests"
22   ];
24   meta = with lib; {
25     homepage = "https://github.com/GIScience/openrouteservice-py";
26     description = "The Python API to consume openrouteservice(s) painlessly";
27     license = licenses.asl20;
28     maintainers = with maintainers; [ Scriptkiddi ];
29   };