2021-02-05 17:12:51 +00:00
|
|
|
{ callPackage, gobject-introspection, cmake, pkg-config
|
2021-04-05 15:23:46 +00:00
|
|
|
, glib, libsndfile, zlib, bzip2, xz, libsamplerate, intltool
|
2020-11-24 20:58:05 +00:00
|
|
|
, pcre, util-linux, libselinux, libsepol }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let pkg = import ./base.nix {
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "3.2.5";
|
2020-04-24 23:36:52 +00:00
|
|
|
pkgName = "libmirage";
|
2021-09-18 10:52:07 +00:00
|
|
|
pkgSha256 = "0f8i2ha44rykkk3ac2q8zsw3y1zckw6qnf6zvkyrj3qqbzhrf3fm";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
in callPackage pkg {
|
2021-04-05 15:23:46 +00:00
|
|
|
buildInputs = [ glib libsndfile zlib bzip2 xz libsamplerate intltool ];
|
2020-04-24 23:36:52 +00:00
|
|
|
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";
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake gobject-introspection pkg-config ];
|
2020-11-24 20:58:05 +00:00
|
|
|
propagatedBuildInputs = [ pcre util-linux libselinux libsepol ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|