python3Packages.georss-generic-client: init at 0.4

This commit is contained in:
Fabian Affolter 2021-06-05 15:47:02 +02:00
parent 8d449aca7d
commit 3d8d96ffdc
2 changed files with 39 additions and 0 deletions

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, georss-client
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "georss-generic-client";
version = "0.4";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-georss-generic-client";
rev = "v${version}";
sha256 = "0i4shx6fvwibx0hlfmd0dyq2n5lkrqwmlm0l476fdb9bw5lkaiy0";
};
propagatedBuildInputs = [
georss-client
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "georss_generic_client" ];
meta = with lib; {
description = "Python library for accessing generic GeoRSS feeds";
homepage = "https://github.com/exxamalte/python-georss-generic-client";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

@ -2742,6 +2742,8 @@ in {
georss-client = callPackage ../development/python-modules/georss-client { };
georss-generic-client = callPackage ../development/python-modules/georss-generic-client { };
getmac = callPackage ../development/python-modules/getmac { };
getkey = callPackage ../development/python-modules/getkey { };