Files
nixpkgs/pkgs/development/python-modules/aemet-opendata/default.nix
T
Martin Weinelt 8ea6bde88d treewide: prune pythonOlder 3.10/3.11
This is a post 3.10 removal cleanup.
2026-02-15 04:33:54 +01:00

42 lines
852 B
Nix

{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
geopy,
setuptools,
}:
buildPythonPackage rec {
pname = "aemet-opendata";
version = "0.6.4";
pyproject = true;
src = fetchFromGitHub {
owner = "Noltari";
repo = "AEMET-OpenData";
tag = version;
hash = "sha256-xxpB5JFPkTwd7dxba9pXRvcont/i3wXBdJh5NfLnZTM=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
geopy
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "aemet_opendata.interface" ];
meta = {
description = "Python client for AEMET OpenData Rest API";
homepage = "https://github.com/Noltari/AEMET-OpenData";
changelog = "https://github.com/Noltari/AEMET-OpenData/releases/tag/${version}";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ dotlambda ];
};
}