summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/face-recognition/models.nix
blob: 9df1ac060589953bf929ae6b5933d8c584dfbf0d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ buildPythonPackage
, lib
, fetchPypi
, setuptools
}:

buildPythonPackage rec {
  pname = "face-recognition-models";
  version = "0.3.0";
  format = "setuptools";

  src = fetchPypi {
    pname = "face_recognition_models";
    inherit version;
    hash = "sha256-t5vSAKiMh8mp1EbJkK5xxaYm0fNzAXTm1XAVf/HYls8=";
  };

  propagatedBuildInputs = [
    setuptools
  ];

  # no tests
  doCheck = false;

  pythonImportsCheck = [
    "face_recognition_models"
  ];

  meta = with lib; {
    homepage = "https://github.com/ageitgey/face_recognition_models";
    license = licenses.cc0;
    maintainers = with maintainers; [ ];
    description = "Trained models for the face_recognition python library";
  };
}