python3Packages.georss-tfs-incidents-client: init at 0.2

This commit is contained in:
Fabian Affolter 2021-06-05 17:40:45 +02:00
parent 70d747131f
commit ccf8709d30
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-tfs-incidents-client";
version = "0.2";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-georss-tfs-incidents-client";
rev = "v${version}";
sha256 = "10qscn7kncb7h0b8mjykkf5kmm3ga9l8gss4acb888iaigcjgavf";
};
propagatedBuildInputs = [
georss-client
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "georss_tfs_incidents_client" ];
meta = with lib; {
description = "Python library for accessing Tasmania Fire Service Incidents feed";
homepage = "https://github.com/exxamalte/python-georss-tfs-incidents-client";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View File

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