python3Packages.tlsh: fix version in py_ext/setup.py

This commit is contained in:
Robert Schütz
2026-07-08 19:21:43 -07:00
parent 2538c000a6
commit 94d27db015
@@ -18,6 +18,11 @@ buildPythonPackage rec {
hash = "sha256-cYvXZrd+8ZC5LfucguFFNlEX8FR+AkchmCFButYoiMg=";
};
postPatch = ''
substituteInPlace py_ext/setup.py \
--replace-fail "version = '4.5.0'" "version = '${version}'"
'';
patches = [
# https://github.com/trendmicro/tlsh/pull/152
./cmake-4-compat.patch