Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pytransportnsw / default.nix
blob67c0749df56bd5c2d9c287e5aefb4213f70fd88e
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , requests
6 }:
8 buildPythonPackage rec {
9   pname = "pytransportnsw";
10   version = "0.1.1";
11   format = "setuptools";
13   disabled = pythonOlder "3.6";
15   src = fetchPypi {
16     pname = "PyTransportNSW";
17     inherit version;
18     sha256 = "00jklgjirmc58hiaqqc2n2rgixvx91bgrd6lv6hv28k51kid10f3";
19   };
21   propagatedBuildInputs = [
22     requests
23   ];
25   # Project has no tests
26   doCheck = false;
28   pythonImportsCheck = [ "TransportNSW" ];
30   meta = with lib; {
31     description = "Python module to access Transport NSW information";
32     homepage = "https://github.com/Dav0815/TransportNSW";
33     license = with licenses; [ gpl3Only ];
34     maintainers = with maintainers; [ fab ];
35   };