python3Packages.georss-nrcan-earthquakes-client: init at 0.2

This commit is contained in:
Fabian Affolter 2021-06-05 17:25:24 +02:00
parent d41f5965fc
commit 70d747131f
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, georss-client
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "georss-nrcan-earthquakes-client";
version = "0.2";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-georss-nrcan-earthquakes-client";
rev = "v${version}";
sha256 = "0d5cdvi35wj30yvql1sr5n4vz0g4ydrslhql3bya1b7pndfs0h3y";
};
propagatedBuildInputs = [
georss-client
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "georss_nrcan_earthquakes_client" ];
meta = with lib; {
description = "Python library for accessing Natural Resources Canada Earthquakes feed";
homepage = "https://github.com/exxamalte/python-georss-nrcan-earthquakes-client";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

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