mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
Diff: https://github.com/exxamalte/python-georss-nrcan-earthquakes-client/compare/v0.4...v2026.6.0 Changelog: https://github.com/exxamalte/python-georss-nrcan-earthquakes-client/releases/tag/v2026.6.0
38 lines
1020 B
Nix
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 ];
|
|
};
|
|
})
|