python3Packages.georss-client: init at 0.13
This commit is contained in:
parent
b096b6d308
commit
8d449aca7d
43
pkgs/development/python-modules/georss-client/default.nix
Normal file
43
pkgs/development/python-modules/georss-client/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user