python3Packages.georss-client: init at 0.13

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

View File

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

View File

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