From f36ae64c701bf29b701d51280d9596c4ca1c811a Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Fri, 23 Jan 2026 00:27:38 +0100 Subject: [PATCH 1/2] python3Packages.hightime: 0.2.2 -> 1.0.0 --- pkgs/development/python-modules/hightime/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/hightime/default.nix b/pkgs/development/python-modules/hightime/default.nix index d04932ed4b5b..2016abb3199d 100644 --- a/pkgs/development/python-modules/hightime/default.nix +++ b/pkgs/development/python-modules/hightime/default.nix @@ -2,25 +2,25 @@ lib, buildPythonPackage, fetchFromGitHub, - setuptools, + poetry-core, pytestCheckHook, pytest-cov-stub, }: buildPythonPackage rec { pname = "hightime"; - version = "0.2.2"; + version = "1.0.0"; pyproject = true; src = fetchFromGitHub { owner = "ni"; repo = "hightime"; rev = "v${version}"; - hash = "sha256-P/ZP5smKyNg18YGYWpm/57YGFY3MrX1UIVDU5RsF+rA="; + hash = "sha256-5WEr2tOxQap+otV8DCdIi3MkfHol4TU4qZXf4u2EQhY="; }; build-system = [ - setuptools + poetry-core ]; nativeCheckInputs = [ From e890ddcb4ebef7887a853537a4a3265d86451403 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Fri, 23 Jan 2026 00:28:12 +0100 Subject: [PATCH 2/2] python3Packages.hightime: use finalAttrs --- pkgs/development/python-modules/hightime/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/hightime/default.nix b/pkgs/development/python-modules/hightime/default.nix index 2016abb3199d..560d7708e84f 100644 --- a/pkgs/development/python-modules/hightime/default.nix +++ b/pkgs/development/python-modules/hightime/default.nix @@ -7,7 +7,7 @@ pytest-cov-stub, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "hightime"; version = "1.0.0"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "ni"; repo = "hightime"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-5WEr2tOxQap+otV8DCdIi3MkfHol4TU4qZXf4u2EQhY="; }; @@ -36,10 +36,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "hightime" ]; meta = { - changelog = "https://github.com/ni/hightime/releases/tag/v${version}"; + changelog = "https://github.com/ni/hightime/releases/tag/v${finalAttrs.version}"; description = "Hightime Python API"; homepage = "https://github.com/ni/hightime"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fsagbuya ]; }; -} +})