Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / opencv / libstdcxx-test.nix
blobd8cc483da9a8940a34ab97e1cf2c80dda7fd4453
1 { python3Packages, runCommand, attrName }:
3 runCommand "${python3Packages.${attrName}.name}-libstdcxx-test"
5   nativeBuildInputs = [
6     (python3Packages.python.withPackages (ps: [
7       (ps.${attrName}.override { enableCuda = true; })
8       ps.scikit-image
9     ]))
10   ];
11 } ''
12   python << EOF
13   import cv2
14   from skimage.transform import pyramid_reduce
15   EOF
16   touch $out