Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 27 lines 362 B view raw
1{ 2 qtModule, 3 qtbase, 4 libwebp, 5 jasper, 6 libmng, 7 zlib, 8 pkg-config, 9 lib, 10 stdenv, 11}: 12 13qtModule { 14 pname = "qtsvg"; 15 propagatedBuildInputs = [ qtbase ]; 16 buildInputs = [ 17 libwebp 18 ] 19 ++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ 20 jasper 21 ] 22 ++ [ 23 libmng 24 zlib 25 ]; 26 nativeBuildInputs = [ pkg-config ]; 27}