Files
nixpkgs/pkgs/development/libraries/opencv/libstdcxx-test.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
412 B
Nix
Raw Normal View History

2025-10-09 14:15:47 +02:00
{
python3Packages,
runCommand,
attrName,
}:
runCommand "${python3Packages.${attrName}.name}-libstdcxx-test"
{
nativeBuildInputs = [
(python3Packages.python.withPackages (ps: [
(ps.${attrName}.override { enableCuda = true; })
ps.scikit-image
]))
];
}
''
python << EOF
import cv2
from skimage.transform import pyramid_reduce
EOF
touch $out
''