2019-04-04 18:12:14 +01:00
|
|
|
{ callPackage, gobject-introspection, cmake, pkgconfig
|
|
|
|
, glib, libsndfile, zlib, bzip2, lzma, libsamplerate, intltool
|
|
|
|
, pcre, utillinux, libselinux, libsepol }:
|
|
|
|
|
2015-02-10 01:27:04 +00:00
|
|
|
let pkg = import ./base.nix {
|
2019-04-04 18:12:14 +01:00
|
|
|
version = "3.2.2";
|
2015-02-10 01:27:04 +00:00
|
|
|
pkgName = "libmirage";
|
2019-04-04 18:12:14 +01:00
|
|
|
pkgSha256 = "0gwrfia0fyhi0b3p2pfyyvrcfcb0qysfzgpdqsqjqbx4xaqx5wpi";
|
2015-02-10 01:27:04 +00:00
|
|
|
};
|
|
|
|
in callPackage pkg {
|
2017-05-31 19:57:08 +01:00
|
|
|
buildInputs = [ glib libsndfile zlib bzip2 lzma libsamplerate intltool ];
|
2019-04-04 18:12:14 +01: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";
|
|
|
|
nativeBuildInputs = [ cmake gobject-introspection pkgconfig ];
|
|
|
|
propagatedBuildInputs = [ pcre utillinux libselinux libsepol ];
|
|
|
|
};
|
2015-02-10 01:27:04 +00:00
|
|
|
}
|