From 270ad5bd26a50d3f38c04a7c4d18eee885016b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 29 Mar 2026 19:53:32 -0700 Subject: [PATCH] python3Packages.json-timeseries: fetch tag --- .../python-modules/json-timeseries/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/json-timeseries/default.nix b/pkgs/development/python-modules/json-timeseries/default.nix index 654b3d559933..c172c8694a0f 100644 --- a/pkgs/development/python-modules/json-timeseries/default.nix +++ b/pkgs/development/python-modules/json-timeseries/default.nix @@ -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; }; -} +})