1{ buildPythonPackage
2, fetchPypi
3, lib
4
5# propagates
6, click
7, dlib
8, face-recognition-models
9, numpy
10, pillow
11
12# tests
13, pytestCheckHook
14}:
15
16buildPythonPackage rec {
17 pname = "face-recognition";
18 version = "1.3.0";
19 format = "setuptools";
20
21 src = fetchPypi {
22 pname = "face_recognition";
23 inherit version;
24 hash = "sha256-Xl790WhqpWavDTzBMTsTHksZdleo/9A2aebT+tknBew=";
25 };
26
27 propagatedBuildInputs = [
28 click
29 dlib
30 face-recognition-models
31 numpy
32 pillow
33 ];
34
35 nativeCheckInputs = [
36 pytestCheckHook
37 ];
38
39 meta = with lib; {
40 license = licenses.mit;
41 homepage = "https://github.com/ageitgey/face_recognition";
42 maintainers = with maintainers; [ ];
43 description = "The world's simplest facial recognition api for Python and the command line";
44 };
45}