Commit 3700d6fb authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.imagehash: 4.3.1 -> 4.3.2

Diff: JohannesBuchner/imagehash@refs/tags/v4.3.1...v4.3.2

Changelog: https://github.com/JohannesBuchner/imagehash/releases/tag/v4.3.2
parent b666e43f
Loading
Loading
Loading
Loading
+22 −11
Original line number Diff line number Diff line
@@ -2,41 +2,52 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  numpy,
  six,
  scipy,
  pillow,
  pytestCheckHook,
  pythonOlder,
  pywavelets,
  scipy,
  setuptools,
  six,
}:

buildPythonPackage rec {
  pname = "imagehash";
  version = "4.3.1";
  format = "setuptools";
  version = "4.3.2";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "JohannesBuchner";
    repo = "imagehash";
    rev = "v${version}";
    hash = "sha256-Tsq10TZqnzNTuO4goKjdylN4Eqy7DNbHLjr5n3+nidM=";
    rev = "refs/tags/v${version}";
    hash = "sha256-/kYINT26ROlB3fIcyyR79nHKg9FsJRQsXQx0Bvl14ec=";
  };

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    numpy
    six
    scipy
    pillow
    pywavelets
  ];

  nativeCheckInputs = [ pytestCheckHook ];
  nativeCheckInputs = [
    pytestCheckHook
    six
  ];

  pythonImportsCheck = [ "imagehash" ];

  meta = with lib; {
    description = "Python Perceptual Image Hashing Module";
    mainProgram = "find_similar_images.py";
    homepage = "https://github.com/JohannesBuchner/imagehash";
    changelog = "https://github.com/JohannesBuchner/imagehash/releases/tag/v${version}";
    license = licenses.bsd2;
    maintainers = with maintainers; [ e1mo ];
    mainProgram = "find_similar_images.py";
  };
}