diff --git a/pkgs/development/python-modules/georss-client/default.nix b/pkgs/development/python-modules/georss-client/default.nix index 77660982bcaf..3f82bec578e0 100644 --- a/pkgs/development/python-modules/georss-client/default.nix +++ b/pkgs/development/python-modules/georss-client/default.nix @@ -1,14 +1,19 @@ { lib, buildPythonPackage, - dateparser, fetchFromGitHub, - haversine, - pytestCheckHook, - pythonOlder, - requests, + + # build-system setuptools, + + # dependencies + dateparser, + haversine, + requests, xmltodict, + + # tests + pytestCheckHook, }: buildPythonPackage rec { @@ -16,8 +21,6 @@ buildPythonPackage rec { version = "0.18"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "exxamalte"; repo = "python-georss-client"; @@ -25,25 +28,25 @@ buildPythonPackage rec { hash = "sha256-KtndXsNvmjSGwqfKqkGAimHbapIC3I0yi4JuDh6cMzs="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ - haversine - xmltodict - requests + dependencies = [ dateparser + haversine + requests + xmltodict ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "georss_client" ]; - meta = with lib; { + meta = { broken = lib.versionAtLeast xmltodict.version "1"; description = "Python library for accessing GeoRSS feeds"; homepage = "https://github.com/exxamalte/python-georss-client"; changelog = "https://github.com/exxamalte/python-georss-client/releases/tag/${src.tag}"; - license = with licenses; [ asl20 ]; - maintainers = with maintainers; [ fab ]; + license = with lib.licenses; [ asl20 ]; + maintainers = with lib.maintainers; [ fab ]; }; }