depot/third_party/nixpkgs/pkgs/development/python-modules/aio-georss-gdacs/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

55 lines
1.1 KiB
Nix

{ lib
, aio-georss-client
, aioresponses
, buildPythonPackage
, dateparser
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "aio-georss-gdacs";
version = "0.9";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-georss-gdacs";
rev = "refs/tags/v${version}";
hash = "sha256-B0qVCh2u0WleF0iv0o1/d5UIS2kbYCAqCgmNHyCpJ8Q=";
};
__darwinAllowLocalNetworking = true;
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aio-georss-client
dateparser
];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [
"aio_georss_gdacs"
];
meta = with lib; {
description = "Python library for accessing GeoRSS feeds";
homepage = "https://github.com/exxamalte/python-aio-georss-gdacs";
changelog = "https://github.com/exxamalte/python-aio-georss-gdacs/releases/tag/v${version}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}