nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aio-georss-client,
4 aioresponses,
5 buildPythonPackage,
6 fetchFromGitHub,
7 pytest-asyncio,
8 pytestCheckHook,
9 python-dateutil,
10 setuptools,
11}:
12
13buildPythonPackage rec {
14 pname = "aio-georss-gdacs";
15 version = "0.10";
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "exxamalte";
20 repo = "python-aio-georss-gdacs";
21 tag = "v${version}";
22 hash = "sha256-PhOI0v3dKTNGZLk1/5wIgvQkm4Cwfr1UYilr5rW7e3g=";
23 };
24
25 __darwinAllowLocalNetworking = true;
26
27 build-system = [ setuptools ];
28
29 dependencies = [
30 aio-georss-client
31 python-dateutil
32 ];
33
34 nativeCheckInputs = [
35 aioresponses
36 pytest-asyncio
37 pytestCheckHook
38 ];
39
40 pythonImportsCheck = [ "aio_georss_gdacs" ];
41
42 meta = {
43 description = "Python library for accessing GeoRSS feeds";
44 homepage = "https://github.com/exxamalte/python-aio-georss-gdacs";
45 changelog = "https://github.com/exxamalte/python-aio-georss-gdacs/releases/tag/v${version}";
46 license = with lib.licenses; [ asl20 ];
47 maintainers = with lib.maintainers; [ fab ];
48 };
49}