Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / imutils / default.nix
blobb655ddc470145658f267fa373ae51b21e0e7f632
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , opencv4
5 }:
7 buildPythonPackage rec {
8   version = "0.5.4";
9   pname = "imutils";
11   src = fetchPypi {
12     inherit pname version;
13     sha256 = "03827a9fca8b5c540305c0844a62591cf35a0caec199cb0f2f0a4a0fb15d8f24";
14   };
16   propagatedBuildInputs = [ opencv4 ];
18   # no tests
19   doCheck = false;
21   pythonImportsCheck = [
22     "imutils"
23     "imutils.video"
24     "imutils.io"
25     "imutils.feature"
26     "imutils.face_utils"
27   ];
29   meta = with lib; {
30     homepage = "https://github.com/jrosebr1/imutils";
31     description = "A series of convenience functions to make basic image processing functions";
32     license = licenses.mit;
33     maintainers = [ ];
34   };