nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 georss-client,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "georss-tfs-incidents-client";
11 version = "0.4";
12 format = "setuptools";
13
14 src = fetchFromGitHub {
15 owner = "exxamalte";
16 repo = "python-georss-tfs-incidents-client";
17 rev = "v${version}";
18 hash = "sha256-Cz0PRcGReAE0mg04ktCUaoLqPTjvyU1TiB/Pdz7o7zo=";
19 };
20
21 propagatedBuildInputs = [ georss-client ];
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 pythonImportsCheck = [ "georss_tfs_incidents_client" ];
26
27 meta = {
28 description = "Python library for accessing Tasmania Fire Service Incidents feed";
29 homepage = "https://github.com/exxamalte/python-georss-tfs-incidents-client";
30 license = with lib.licenses; [ asl20 ];
31 maintainers = with lib.maintainers; [ fab ];
32 };
33}