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.8";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchFromGitHub {
20 owner = "exxamalte";
21 repo = "python-aio-georss-gdacs";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-1mpOWd4Z2gTQtRewWfZsfEtmS6i5uMPAMTlC8UpawxM=";
24 };
25
26 propagatedBuildInputs = [
27 aio-georss-client
28 dateparser
29 ];
30
31 nativeCheckInputs = [
32 aresponses
33 pytest-asyncio
34 pytestCheckHook
35 ];
36
37 pythonImportsCheck = [
38 "aio_georss_gdacs"
39 ];
40
41 meta = with lib; {
42 description = "Python library for accessing GeoRSS feeds";
43 homepage = "https://github.com/exxamalte/python-aio-georss-gdacs";
44 changelog = "https://github.com/exxamalte/python-aio-georss-gdacs/releases/tag/v${version}";
45 license = with licenses; [ asl20 ];
46 maintainers = with maintainers; [ fab ];
47 };
48}