Unverified Commit 319b1afc authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #312611 from fabaff/pytransportnswv2-bump

 python312Packages.pytransportnswv2: 0.2.4 -> 0.3.0 
parents b8f95ef0 a00b196f
Loading
Loading
Loading
Loading
+17 −14
Original line number Diff line number Diff line
{ 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 ];
  };
}