python3Packages.pytransportnswv2: init at 0.2.4
This commit is contained in:
parent
5bfa982206
commit
589c45e303
38
pkgs/development/python-modules/pytransportnswv2/default.nix
Normal file
38
pkgs/development/python-modules/pytransportnswv2/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, gtfs-realtime-bindings
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytransportnswv2";
|
||||
version = "0.2.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PyTransportNSWv2";
|
||||
inherit version;
|
||||
sha256 = "129rrqckqgfrwdx0b83dqphcv55cxs5i8jl1ascia7rpzjn109ah";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gtfs-realtime-bindings
|
||||
requests
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "TransportNSW" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module to access Transport NSW information";
|
||||
homepage = "https://github.com/andystewart999/TransportNSW";
|
||||
license = with licenses; [ gpl3Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -7531,6 +7531,8 @@ in {
|
||||
|
||||
pytransportnsw = callPackage ../development/python-modules/pytransportnsw { };
|
||||
|
||||
pytransportnswv2 = callPackage ../development/python-modules/pytransportnswv2 { };
|
||||
|
||||
pytrends = callPackage ../development/python-modules/pytrends { };
|
||||
|
||||
pytricia = callPackage ../development/python-modules/pytricia { };
|
||||
|
Loading…
Reference in New Issue
Block a user