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

24 lines
347 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 ];
}