forked from mirrors/nixpkgs
b7bc6e7f6c
Initially the expression was quite small (just inherited properties from `pkgs.dlib`), but the more it grows the better it is to store it into its own file.
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 ];
|
|
}
|