mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-10 10:48:00 +00:00
33 lines
688 B
Nix
33 lines
688 B
Nix
{
|
|
buildPythonPackage,
|
|
lib,
|
|
fetchPypi,
|
|
setuptools_80,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "face-recognition-models";
|
|
version = "0.3.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "face_recognition_models";
|
|
inherit (finalAttrs) version;
|
|
hash = "sha256-t5vSAKiMh8mp1EbJkK5xxaYm0fNzAXTm1XAVf/HYls8=";
|
|
};
|
|
|
|
build-system = [ setuptools_80 ];
|
|
|
|
# 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";
|
|
};
|
|
})
|