mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-04 03:40:18 +00:00
python3Packages.facenet-pytorch: fix version in setup.py
Assisted-by: Claude Code (claude-sonnet-5-5)
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user