python3Packages.mhcflurry: fix for python 3.13

Changed files
+8
pkgs
development
python-modules
mhcflurry
+8
pkgs/development/python-modules/mhcflurry/default.nix
···
hash = "sha256-TNb3oKZvgBuXoSwsTuEJjFKEVZyHynazuPInj7wVKs8=";
};
+
# pipes has been removed in python 3.13
+
postPatch = ''
+
substituteInPlace mhcflurry/downloads.py \
+
--replace-fail \
+
"from pipes import quote" \
+
"from shlex import quote"
+
'';
+
# keras and tensorflow are not in the official setup.py requirements but are required for the CLI utilities to run.
dependencies = [
appdirs