From 58a604800e419fe73db162a305e31f47668f4885 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Wed, 24 Sep 2025 17:58:53 -0700 Subject: [PATCH] python3Packages.typedunits: 0.0.1.dev20250509200845 -> 0.0.1 https://github.com/quantumlib/TypedUnits/releases/tag/v0.0.1 --- .../development/python-modules/typedunits/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/typedunits/default.nix b/pkgs/development/python-modules/typedunits/default.nix index 941db335c3e0..a0f8d285e5ef 100644 --- a/pkgs/development/python-modules/typedunits/default.nix +++ b/pkgs/development/python-modules/typedunits/default.nix @@ -12,17 +12,16 @@ pytestCheckHook, }: -buildPythonPackage { +buildPythonPackage rec { pname = "typedunits"; - version = "0.0.1.dev20250509200845"; + version = "0.0.1"; pyproject = true; src = fetchFromGitHub { owner = "quantumlib"; repo = "TypedUnits"; - # PyPi ships platform- and python- specific wheels, so pin the matching source - rev = "95e698b10454dc8dffdb708d56199a748e6dab75"; - hash = "sha256-mNo2s1sIMOa7zYfp6XyF8CBQ840+XvN0Ek59W6bRqeM="; + tag = "v${version}"; + hash = "sha256-g/kUPEtdyNvcWJOqcTCF27pW22WTg0EiHoEXgSs2xMs="; }; build-system = [ @@ -63,6 +62,6 @@ buildPythonPackage { description = "Units and dimensions library with support for static dimensionality checking and protobuffer serialization"; homepage = "https://github.com/quantumlib/TypedUnits"; license = lib.licenses.asl20; - maintainers = [ lib.maintainers.sarahec ]; + maintainers = with lib.maintainers; [ sarahec ]; }; }