nixpkgs-suyu/pkgs/development/python-modules/dlib/default.nix

14 lines
295 B
Nix
Raw Normal View History

{ buildPythonPackage, dlib, python, pytest }:
buildPythonPackage {
inherit (dlib) name src nativeBuildInputs buildInputs meta;
checkPhase = ''
${python.interpreter} nix_run_setup test --no USE_AVX_INSTRUCTIONS
'';
patches = [ ./build-cores.patch ];
checkInputs = [ pytest ];
}