python310Packages.pygtfs: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-05-10 23:34:03 +02:00 committed by GitHub
parent 33bf62b1ff
commit 182ae70b3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@
, fetchPypi
, nose
, pytz
, pythonOlder
, setuptools-scm
, six
, sqlalchemy
@ -12,10 +13,13 @@
buildPythonPackage rec {
pname = "pygtfs";
version = "0.1.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-sGJwtf8DVIrE4hcU3IksnyAAt8yf67UBJIiVILDSsv8=";
hash = "sha256-sGJwtf8DVIrE4hcU3IksnyAAt8yf67UBJIiVILDSsv8=";
};
nativeBuildInputs = [
@ -33,7 +37,9 @@ buildPythonPackage rec {
nose
];
pythonImportsCheck = [ "pygtfs" ];
pythonImportsCheck = [
"pygtfs"
];
meta = with lib; {
description = "Python module for GTFS";