28 lines
384 B
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 ];
|
|
}
|