3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/tlsh/default.nix
Bruno BELANYI 96dc04e933
tlsh: 4.5.0 -> 4.9.3 (#138639)
* tlsh: 4.5.0 -> 4.9.3

* tlsh: link to https website
2021-09-22 11:44:14 +02:00

35 lines
586 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, cmake
}:
buildPythonPackage rec {
pname = "tlsh";
version = "4.9.3";
src = fetchFromGitHub {
owner = "trendmicro";
repo = "tlsh";
rev = version;
sha256 = "sha256-12bhxJTJJWzoiWt4YwhcdwHDvJNoBenWl3l26SFuIGU=";
};
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;
};
}