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 ]; }; }