Unverified Commit 6f0c30d7 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

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

parents 95fa10c2 ab7c2bf2
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -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;
  };
}