depot/third_party/nixpkgs/pkgs/development/libraries/qt-6/modules/qtsvg.nix

28 lines
384 B
Nix

{
qtModule,
qtbase,
libwebp,
jasper,
libmng,
zlib,
pkg-config,
lib,
stdenv,
}:
qtModule {
pname = "qtsvg";
propagatedBuildInputs = [ qtbase ];
buildInputs =
[
libwebp
]
++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
jasper
]
++ [
libmng
zlib
];
nativeBuildInputs = [ pkg-config ];
}