python312Packages.nsapi: 3.0.5 -> 3.1.2 (#359034)
This commit is contained in:
commit
0a2ecc76d5
@ -2,28 +2,28 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
future,
|
||||
pythonOlder,
|
||||
pytz,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nsapi";
|
||||
version = "3.0.5";
|
||||
format = "setuptools";
|
||||
disabled = pythonOlder "3.7";
|
||||
version = "3.1.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aquatix";
|
||||
repo = "ns-api";
|
||||
rev = "v${version}";
|
||||
sha256 = "0i1zkvi4mrhkh1gxzpa54mq8mb76s9nf3jxxhpqia56nkq8f8krb";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-H8qxqzcGZ52W/HbTuKdnfnaYdZFaxzuUhrniS1zsL2w=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
future
|
||||
pytz
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ pytz ];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
@ -33,7 +33,8 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python module to query routes of the Dutch railways";
|
||||
homepage = "https://github.com/aquatix/ns-api/";
|
||||
license = with licenses; [ mit ];
|
||||
changelog = "https://github.com/aquatix/ns-api/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user