python3Packages.json-timeseries: fetch tag (#504871)

This commit is contained in:
Sandro
2026-03-30 14:12:03 +00:00
committed by GitHub
@@ -8,7 +8,7 @@
setuptools-scm,
}:
buildPythonPackage {
buildPythonPackage (finalAttrs: {
pname = "json-timeseries";
version = "0.1.7";
pyproject = true;
@@ -16,9 +16,7 @@ buildPythonPackage {
src = fetchFromGitHub {
owner = "slaxor505";
repo = "json-timeseries-py";
# asked upstream for tags
# https://github.com/slaxor505/json-timeseries-py/issues/2
rev = "d5a4f6307ce38f790c2594c3eae0f64bbc7c353e";
tag = "v${finalAttrs.version}";
hash = "sha256-5+eS+e6d61CBIqBXFaIQta95nenF5XK2mA9pQ+Rj0vQ=";
};
@@ -36,9 +34,10 @@ buildPythonPackage {
pythonImportsCheck = [ "json_timeseries" ];
meta = {
changelog = "https://github.com/slaxor505/json-timeseries-py/releases/tag/${finalAttrs.src.tag}";
description = "JSON Time Series (JTS) spec Python library";
homepage = "https://github.com/slaxor505/json-timeseries-py";
maintainers = with lib.maintainers; [ SuperSandro2000 ];
license = lib.licenses.mit;
};
}
})