https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
15 lines
215 B
Nix
15 lines
215 B
Nix
{ qtModule
|
|
, qtbase
|
|
, libwebp
|
|
, jasper
|
|
, libmng
|
|
, zlib
|
|
, pkg-config
|
|
}:
|
|
|
|
qtModule {
|
|
pname = "qtsvg";
|
|
qtInputs = [ qtbase ];
|
|
buildInputs = [ libwebp jasper libmng zlib ];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
}
|