Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
797 B · 42 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, numpy, six, scipy, pillow, pywavelets,}:
buildPythonPackage rec { pname = "imagehash"; version = "4.3.1"; format = "setuptools";
src = fetchFromGitHub { owner = "JohannesBuchner"; repo = "imagehash"; rev = "v${version}"; hash = "sha256-Tsq10TZqnzNTuO4goKjdylN4Eqy7DNbHLjr5n3+nidM="; };
propagatedBuildInputs = [ numpy six scipy pillow pywavelets ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "Python Perceptual Image Hashing Module"; mainProgram = "find_similar_images.py"; homepage = "https://github.com/JohannesBuchner/imagehash"; license = licenses.bsd2; maintainers = with maintainers; [ e1mo ]; };}