mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 22:03:13 +00:00
19 lines
755 B
Nix
19 lines
755 B
Nix
{ callPackage, gobject-introspection, cmake, pkgconfig
|
|
, glib, libsndfile, zlib, bzip2, lzma, libsamplerate, intltool
|
|
, pcre, util-linux, libselinux, libsepol }:
|
|
|
|
let pkg = import ./base.nix {
|
|
version = "3.2.3";
|
|
pkgName = "libmirage";
|
|
pkgSha256 = "08mfvqyk3833ksfd47i4j3ppmrw5ry219km6h7lywdh9hm9x14yf";
|
|
};
|
|
in callPackage pkg {
|
|
buildInputs = [ glib libsndfile zlib bzip2 lzma libsamplerate intltool ];
|
|
drvParams = {
|
|
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "${placeholder "out"}/share/gir-1.0";
|
|
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "${placeholder "out"}/lib/girepository-1.0";
|
|
nativeBuildInputs = [ cmake gobject-introspection pkgconfig ];
|
|
propagatedBuildInputs = [ pcre util-linux libselinux libsepol ];
|
|
};
|
|
}
|