Files

38 lines
1020 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
georss-client,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "georss-nrcan-earthquakes-client";
version = "2026.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "exxamalte";
repo = "python-georss-nrcan-earthquakes-client";
tag = "v${finalAttrs.version}";
hash = "sha256-JRU+ncPRbkA/fQ6aIOX6J09ErMpgH2Rk8AF+eWR5WXg=";
};
build-system = [ setuptools ];
dependencies = [ georss-client ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "georss_nrcan_earthquakes_client" ];
meta = {
description = "Python library for accessing Natural Resources Canada Earthquakes feed";
homepage = "https://github.com/exxamalte/python-georss-nrcan-earthquakes-client";
changelog = "https://github.com/exxamalte/python-georss-nrcan-earthquakes-client/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
})