Files
nixpkgs/pkgs/development/python-modules/face-recognition/models.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

33 lines
673 B
Nix

{
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";
};
}