My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/tlsh/default.nix

34 lines
587 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, cmake
}:
buildPythonPackage rec {
pname = "tlsh";
version = "4.10.0";
src = fetchFromGitHub {
owner = "trendmicro";
repo = "tlsh";
rev = version;
sha256 = "sha256-9Vkj7a5xU/coFyM/8i8JB0DdnbgDAEMOjmmMF8ckKuE=";
};
nativeBuildInputs = [ cmake ];
# no test data
doCheck = false;
postConfigure = ''
cd ../py_ext
'';
meta = with lib; {
description = "Trend Micro Locality Sensitive Hash";
homepage = "https://tlsh.org/";
license = licenses.asl20;
platforms = platforms.unix;
};
}