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