1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 georss-client,
6 pytestCheckHook,
7 pythonOlder,
8 setuptools,
9}:
10
11buildPythonPackage rec {
12 pname = "georss-qld-bushfire-alert-client";
13 version = "0.8";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchFromGitHub {
19 owner = "exxamalte";
20 repo = "python-georss-qld-bushfire-alert-client";
21 tag = "v${version}";
22 hash = "sha256-/MyjYLu29PANe17KxJCkmHPjvjlPfswn7ZBAKFSwohc=";
23 };
24
25 build-system = [ setuptools ];
26
27 dependencies = [ georss-client ];
28
29 nativeCheckInputs = [ pytestCheckHook ];
30
31 pythonImportsCheck = [ "georss_qld_bushfire_alert_client" ];
32
33 meta = with lib; {
34 description = "Python library for accessing Queensland Bushfire Alert feed";
35 homepage = "https://github.com/exxamalte/python-georss-qld-bushfire-alert-client";
36 changelog = "https://github.com/exxamalte/python-georss-qld-bushfire-alert-client/releases/tag/v${version}";
37 license = with licenses; [ asl20 ];
38 maintainers = with maintainers; [ fab ];
39 };
40}