Files
nixpkgs/pkgs/development/python-modules/aio-georss-gdacs/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

53 lines
1.1 KiB
Nix

{
lib,
aio-georss-client,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
python-dateutil,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "aio-georss-gdacs";
version = "0.10";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-aio-georss-gdacs";
tag = "v${version}";
hash = "sha256-PhOI0v3dKTNGZLk1/5wIgvQkm4Cwfr1UYilr5rW7e3g=";
};
__darwinAllowLocalNetworking = true;
build-system = [ setuptools ];
dependencies = [
aio-georss-client
python-dateutil
];
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aio_georss_gdacs" ];
meta = {
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 lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [ fab ];
};
}