nixpkgs/pkgs/development/python-modules/georss-wa-dfes-client/default.nix
2021-06-22 13:42:47 +02:00

38 lines
848 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, georss-client
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "georss-wa-dfes-client";
version = "0.3";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-georss-wa-dfes-client";
rev = "v${version}";
sha256 = "01fk67kc6ww88yzsans8g81i6j7s0276gma5fk76la1c8vj2ifs7";
};
propagatedBuildInputs = [
georss-client
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "georss_wa_dfes_client" ];
meta = with lib; {
description = "Python library for accessing WA Department of Fire and Emergency Services (DFES) feed";
homepage = "https://github.com/exxamalte/python-georss-wa-dfes-client";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}