Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / nsapi / default.nix
blob453eeb2c9519ee0ef6abecfc635d3cb88bb94fbe
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , future
5 , pythonOlder
6 , pytz
7 }:
9 buildPythonPackage rec {
10   pname = "nsapi";
11   version = "3.0.5";
12   disabled = pythonOlder "3.7";
14   src = fetchFromGitHub {
15     owner = "aquatix";
16     repo = "ns-api";
17     rev = "v${version}";
18     sha256 = "0i1zkvi4mrhkh1gxzpa54mq8mb76s9nf3jxxhpqia56nkq8f8krb";
19   };
21   propagatedBuildInputs = [
22     future
23     pytz
24   ];
26   # Project has no tests
27   doCheck = false;
29   pythonImportsCheck = [ "ns_api" ];
31   meta = with lib; {
32     description = "Python module to query routes of the Dutch railways";
33     homepage = "https://github.com/aquatix/ns-api/";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ fab ];
36   };