diff --git a/pkgs/development/python-modules/msgspec/default.nix b/pkgs/development/python-modules/msgspec/default.nix index 61503c3a51d6f..44bc828d36254 100644 --- a/pkgs/development/python-modules/msgspec/default.nix +++ b/pkgs/development/python-modules/msgspec/default.nix @@ -17,7 +17,11 @@ buildPythonPackage rec { owner = "jcrist"; repo = "msgspec"; tag = version; - hash = "sha256-g2yhw9fMucBHlGx9kAMQL87znXlQT9KbxQ/QcmUetqI="; + # Note that this hash changes after some time after release because they + # use `$Format:%d$` in msgspec/_version.py, and GitHub produces different + # tarballs depending on whether tagged commit is the last commit, see + # https://github.com/NixOS/nixpkgs/issues/84312 + hash = "sha256-CajdPNAkssriY/sie5gR+4k31b3Wd7WzqcsFmrlSoPY="; }; build-system = [ setuptools ];