3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/emulators/cdemu/libmirage.nix

19 lines
753 B
Nix
Raw Normal View History

2021-01-17 02:30:45 +00:00
{ callPackage, gobject-introspection, cmake, pkg-config
2021-03-14 18:12:53 +00:00
, glib, libsndfile, zlib, bzip2, xz, libsamplerate, intltool
2020-11-24 15:29:28 +00:00
, pcre, util-linux, libselinux, libsepol }:
2015-02-10 01:27:04 +00:00
let pkg = import ./base.nix {
2019-11-24 19:30:30 +00:00
version = "3.2.3";
2015-02-10 01:27:04 +00:00
pkgName = "libmirage";
2019-11-24 19:30:30 +00:00
pkgSha256 = "08mfvqyk3833ksfd47i4j3ppmrw5ry219km6h7lywdh9hm9x14yf";
2015-02-10 01:27:04 +00:00
};
in callPackage pkg {
2021-03-14 18:12:53 +00:00
buildInputs = [ glib libsndfile zlib bzip2 xz 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";
2021-01-17 02:30:45 +00:00
nativeBuildInputs = [ cmake gobject-introspection pkg-config ];
2020-11-24 15:29:28 +00:00
propagatedBuildInputs = [ pcre util-linux libselinux libsepol ];
};
2015-02-10 01:27:04 +00:00
}