My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pytransportnswv2/default.nix

38 lines
791 B

{ 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 ];
};
}