python312Packages.tlsh: 4.10.0 -> 4.12.0 (#344783)

This commit is contained in:
OTABI Tomoya
2024-09-29 14:06:04 +09:00
committed by GitHub

View File

@@ -3,22 +3,25 @@
buildPythonPackage,
fetchFromGitHub,
cmake,
setuptools,
}:
buildPythonPackage rec {
pname = "tlsh";
version = "4.10.0";
format = "setuptools";
version = "4.12.0";
pyproject = true;
src = fetchFromGitHub {
owner = "trendmicro";
repo = "tlsh";
rev = version;
hash = "sha256-9Vkj7a5xU/coFyM/8i8JB0DdnbgDAEMOjmmMF8ckKuE=";
rev = "refs/tags/${version}";
hash = "sha256-Ht4LkcNmxPEvzFHXeS/XhPt/xo+0sE4RBcLCn9N/zwE=";
};
nativeBuildInputs = [ cmake ];
build-system = [ setuptools ];
# no test data
doCheck = false;
@@ -26,10 +29,12 @@ buildPythonPackage rec {
cd ../py_ext
'';
pythonImportsCheck = [ "tlsh" ];
meta = with lib; {
description = "Trend Micro Locality Sensitive Hash";
homepage = "https://tlsh.org/";
changelog = "https://github.com/trendmicro/tlsh/releases/tag/${version}";
license = licenses.asl20;
platforms = platforms.unix;
};
}