python312Packages.pytrafikverket: 0.3.10 -> 1.0.0

https://github.com/gjohansson-ST/pytrafikverket/releases/tag/v1.0.0
This commit is contained in:
Martin Weinelt
2024-08-09 14:46:58 +02:00
parent 0dd7480290
commit 8f2d5fe35a
@@ -3,27 +3,29 @@
buildPythonPackage,
fetchPypi,
aiohttp,
aiozoneinfo,
lxml,
pythonOlder,
setuptools,
poetry-core,
}:
buildPythonPackage rec {
pname = "pytrafikverket";
version = "0.3.10";
version = "1.0.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-B3K9wDFj7uSgs6BsJUnD6r2JVcH7u7UrbVXUTMGqmQE=";
hash = "sha256-qvJbAE5C19RSg5p823sCJ/dWIHBSD4kJrw/p8PF2HkI=";
};
nativeBuildInputs = [ setuptools ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
aiohttp
aiozoneinfo
lxml
];
@@ -34,8 +36,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library to get data from the Swedish Transport Administration (Trafikverket) API";
homepage = "https://github.com/endor-force/pytrafikverket";
changelog = "https://github.com/endor-force/pytrafikverket/releases/tag/${version}";
homepage = "https://github.com/gjohansson-ST/pytrafikverket";
changelog = "https://github.com/gjohansson-ST/pytrafikverket/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};