Merge pull request #312611 from fabaff/pytransportnswv2-bump

python312Packages.pytransportnswv2: 0.2.4 -> 0.3.0
This commit is contained in:
Fabian Affolter 2024-05-18 12:29:33 +02:00 committed by GitHub
commit 319b1afca4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,25 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, gtfs-realtime-bindings
, requests
{
lib,
buildPythonPackage,
fetchPypi,
gtfs-realtime-bindings,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "pytransportnswv2";
version = "0.2.4";
format = "setuptools";
version = "0.3.0";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "PyTransportNSWv2";
inherit version;
sha256 = "129rrqckqgfrwdx0b83dqphcv55cxs5i8jl1ascia7rpzjn109ah";
inherit pname version;
hash = "sha256-9bpIu+Uc6eFSEGeEfpVwfrhvLekR8qOd571qMnLTpVg=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
gtfs-realtime-bindings
requests
];
@ -32,7 +35,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python module to access Transport NSW information";
homepage = "https://github.com/andystewart999/TransportNSW";
license = with licenses; [ gpl3Only ];
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
};
}