mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
python3Packages.georss-nrcan-earthquakes-client: init at 0.2
This commit is contained in:
parent
d41f5965fc
commit
70d747131f
@ -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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user