Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 36 lines 457 B view raw
1{ 2 mkDerivation, 3 lib, 4 extra-cmake-modules, 5 ilmbase, 6 karchive, 7 openexr, 8 libavif, 9 libheif, 10 libjxl, 11 libraw, 12 qtbase, 13}: 14 15let 16 inherit (lib) getDev; 17in 18 19mkDerivation { 20 pname = "kimageformats"; 21 22 nativeBuildInputs = [ extra-cmake-modules ]; 23 buildInputs = [ 24 karchive 25 openexr 26 libavif 27 libheif 28 libjxl 29 libraw 30 qtbase 31 ]; 32 outputs = [ "out" ]; # plugins only 33 cmakeFlags = [ 34 "-DKIMAGEFORMATS_HEIF=ON" 35 ]; 36}