diff --git a/pkgs/development/python-modules/bluezero/default.nix b/pkgs/development/python-modules/bluezero/default.nix index b301c40b3a7c..a14ee9c1789c 100644 --- a/pkgs/development/python-modules/bluezero/default.nix +++ b/pkgs/development/python-modules/bluezero/default.nix @@ -20,6 +20,11 @@ buildPythonPackage (finalAttrs: { hash = "sha256-H5760bPdA7NECiOWI7fLCxW3K7+c2L0Y3sa/E/krJJw="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace-fail "version='0.9.0'," "version='${finalAttrs.version}'," + ''; + build-system = [ setuptools ];