Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / imagehash / default.nix
blob55ce39e8648a9f14f4587c04ac51a2f038987e85
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , numpy
6 , six
7 , scipy
8 , pillow
9 , pywavelets
12 buildPythonPackage rec {
13   pname = "imagehash";
14   version = "4.3.1";
15   format = "setuptools";
17   src = fetchFromGitHub {
18     owner = "JohannesBuchner";
19     repo = "imagehash";
20     rev = "v${version}";
21     hash = "sha256-Tsq10TZqnzNTuO4goKjdylN4Eqy7DNbHLjr5n3+nidM=";
22   };
24   propagatedBuildInputs = [
25     numpy
26     six
27     scipy
28     pillow
29     pywavelets
30   ];
32   nativeCheckInputs = [ pytestCheckHook ];
34   meta = with lib; {
35     description = "A Python Perceptual Image Hashing Module";
36     mainProgram = "find_similar_images.py";
37     homepage = "https://github.com/JohannesBuchner/imagehash";
38     license = licenses.bsd2;
39     maintainers = with maintainers; [ e1mo ];
40   };