dotnet: improve language coverage of passthru.tests for dotnet sdks (#370789)
[NixPkgs.git] / pkgs / development / python-modules / imagehash / default.nix
bloba774ba3b4de487f5f3ff50dec489c8c5610e9f06
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   numpy,
6   pillow,
7   pytestCheckHook,
8   pythonOlder,
9   pywavelets,
10   scipy,
11   setuptools,
12   six,
15 buildPythonPackage rec {
16   pname = "imagehash";
17   version = "4.3.2";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "JohannesBuchner";
24     repo = "imagehash";
25     tag = "v${version}";
26     hash = "sha256-/kYINT26ROlB3fIcyyR79nHKg9FsJRQsXQx0Bvl14ec=";
27   };
29   build-system = [ setuptools ];
31   dependencies = [
32     numpy
33     scipy
34     pillow
35     pywavelets
36   ];
38   nativeCheckInputs = [
39     pytestCheckHook
40     six
41   ];
43   pythonImportsCheck = [ "imagehash" ];
45   meta = with lib; {
46     description = "Python Perceptual Image Hashing Module";
47     homepage = "https://github.com/JohannesBuchner/imagehash";
48     changelog = "https://github.com/JohannesBuchner/imagehash/releases/tag/v${version}";
49     license = licenses.bsd2;
50     maintainers = with maintainers; [ e1mo ];
51     mainProgram = "find_similar_images.py";
52   };