diff --git a/pkgs/development/python-modules/pytrafikverket/default.nix b/pkgs/development/python-modules/pytrafikverket/default.nix index ed187fc619fe..0af8bb7f59a4 100644 --- a/pkgs/development/python-modules/pytrafikverket/default.nix +++ b/pkgs/development/python-modules/pytrafikverket/default.nix @@ -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 ]; };