- normalize name (PEP503) - set explicit format - reformatmain
parent
71b0473e22
commit
4f7b11fd3d
@ -0,0 +1,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"; |
||||
}; |
||||
} |
@ -1,23 +0,0 @@ |
||||
{ buildPythonPackage, lib, fetchPypi, setuptools }: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "face_recognition_models"; |
||||
version = "0.3.0"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "1kwnv3qpy5bhspk780bkyg8jd9n5f6p91ja6sjlwk1wcm00d56xp"; |
||||
}; |
||||
|
||||
# no module named `tests` as no tests are available |
||||
doCheck = false; |
||||
|
||||
propagatedBuildInputs = [ setuptools ]; |
||||
|
||||
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"; |
||||
}; |
||||
} |
Loading…
Reference in new issue