mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
14 lines
295 B
Nix
14 lines
295 B
Nix
|
{ 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 ];
|
||
|
}
|