summary refs log tree commit diff
path: root/pkgs/development/python-modules/dlib/default.nix
blob: 90e2c526789f9d4d944af8a5839df8b5a813f5a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ 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 ];
}