summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/face-recognition/models.nix
blob: 40eb6ad5bbe27704b53cb4f179865336ac7bfd2c (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
{
  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 = {
    homepage = "https://github.com/ageitgey/face_recognition_models";
    license = lib.licenses.cc0;
    maintainers = [ ];
    description = "Trained models for the face_recognition python library";
  };
}