python3Packages.facenet-pytorch: fix version in setup.py

Assisted-by: Claude Code (claude-sonnet-5-5)
This commit is contained in:
thesn10
2026-11-09 12:46:50 +01:00
committed by Gaetan Lepage
parent ffe15f5d02
commit fcdf15ae90

View File

@@ -24,6 +24,13 @@ buildPythonPackage (finalAttrs: {
hash = "sha256-3YVyqKgVLD5aePwyVQA8kOiqx32kqg9lxU2uwPWGkCU=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail \
"VERSION = '2.5.2'" \
"VERSION = '${finalAttrs.version}'"
'';
build-system = [
setuptools
];