···1{
02 buildPythonPackage,
3 dlib,
04 pytestCheckHook,
5 more-itertools,
006}:
78buildPythonPackage {
9 inherit (dlib)
10+ stdenv
11 pname
12 version
13 src
14 nativeBuildInputs
15 buildInputs
16+ cmakeFlags
17+ passthru
18 meta
19 ;
20···33 --replace "pytest==3.8" "pytest"
34 '';
3536+ # Pass CMake flags through to the build script
37+ preConfigure = ''
38+ for flag in $cmakeFlags; do
39+ if [[ "$flag" == -D* ]]; then
40+ setupPyBuildFlags+=" --set ''${flag#-D}"
41+ fi
42+ done
43+ '';
4445 dontUseCmakeConfigure = true;
46+47+ doCheck =
48+ !(
49+ # The tests attempt to use CUDA on the build platform.
50+ # https://github.com/NixOS/nixpkgs/issues/225912
51+ dlib.cudaSupport
52+53+ # although AVX can be enabled, we never test with it. Some Hydra machines
54+ # fail because of this, however their build results are probably used on hardware
55+ # with AVX support.
56+ || dlib.avxSupport
57+ );
58}
···298 dart_stable = throw "'dart_stable' has been renamed to/replaced by 'dart'"; # Converted to throw 2024-10-17
299 dart-sass-embedded = throw "dart-sass-embedded has been removed from nixpkgs, as is now included in Dart Sass itself.";
300 dat = nodePackages.dat;
0301 dbeaver = throw "'dbeaver' has been renamed to/replaced by 'dbeaver-bin'"; # Added 2024-05-16
302 dbus-map = throw "'dbus-map' has been dropped as it is unmaintained"; # Added 2024-11-01
303 deadpixi-sam = deadpixi-sam-unstable;
···298 dart_stable = throw "'dart_stable' has been renamed to/replaced by 'dart'"; # Converted to throw 2024-10-17
299 dart-sass-embedded = throw "dart-sass-embedded has been removed from nixpkgs, as is now included in Dart Sass itself.";
300 dat = nodePackages.dat;
301+ dave = throw "'dave' has been removed as it has been archived upstream. Consider using 'webdav' instead"; # Added 2025-02-03
302 dbeaver = throw "'dbeaver' has been renamed to/replaced by 'dbeaver-bin'"; # Added 2024-05-16
303 dbus-map = throw "'dbus-map' has been dropped as it is unmaintained"; # Added 2024-11-01
304 deadpixi-sam = deadpixi-sam-unstable;