nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, aio-georss-client
3, aresponses
4, buildPythonPackage
5, dateparser
6, fetchFromGitHub
7, pytest-asyncio
8, pytestCheckHook
9, pythonOlder
10}:
11
12buildPythonPackage rec {
13 pname = "aio-georss-gdacs";
14 version = "0.5";
15 disabled = pythonOlder "3.7";
16
17 src = fetchFromGitHub {
18 owner = "exxamalte";
19 repo = "python-aio-georss-gdacs";
20 rev = "v${version}";
21 sha256 = "sha256-CIQoQRk5KIPEa/Y/7C1NPctuHvoiZ/o2bDa5YSWY+9M=";
22 };
23
24 propagatedBuildInputs = [
25 aio-georss-client
26 dateparser
27 ];
28
29 checkInputs = [
30 aresponses
31 pytest-asyncio
32 pytestCheckHook
33 ];
34
35 pythonImportsCheck = [ "aio_georss_gdacs" ];
36
37 meta = with lib; {
38 description = "Python library for accessing GeoRSS feeds";
39 homepage = "https://github.com/exxamalte/python-aio-georss-gdacs";
40 license = with licenses; [ asl20 ];
41 maintainers = with maintainers; [ fab ];
42 };
43}