python3Packages.georss-qld-bushfire-alert-client: init at 0.4

This commit is contained in:
Fabian Affolter 2021-06-05 18:00:46 +02:00
parent 4e0336be20
commit 90e409dd28
2 changed files with 39 additions and 0 deletions

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, georss-client
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "georss-qld-bushfire-alert-client";
version = "0.4";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-georss-qld-bushfire-alert-client";
rev = "v${version}";
sha256 = "14k7q0ynray1fj0lhxvgxpbdh4pmsqqk9gzmv38p9i7ijx8h1sc8";
};
propagatedBuildInputs = [
georss-client
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "georss_qld_bushfire_alert_client" ];
meta = with lib; {
description = "Python library for accessing Queensland Bushfire Alert feed";
homepage = "https://github.com/exxamalte/python-georss-qld-bushfire-alert-client";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

@ -2750,6 +2750,8 @@ in {
georss-nrcan-earthquakes-client = callPackage ../development/python-modules/georss-nrcan-earthquakes-client { };
georss-qld-bushfire-alert-client = callPackage ../development/python-modules/georss-qld-bushfire-alert-client { };
georss-tfs-incidents-client = callPackage ../development/python-modules/georss-tfs-incidents-client { };
georss-wa-dfes-client = callPackage ../development/python-modules/georss-wa-dfes-client { };