71 lines
1.1 KiB
Nix
71 lines
1.1 KiB
Nix
|
|
{
|
||
|
|
stdenv,
|
||
|
|
callPackage,
|
||
|
|
cmake,
|
||
|
|
pkg-config,
|
||
|
|
gobject-introspection,
|
||
|
|
vala,
|
||
|
|
glib,
|
||
|
|
libsndfile,
|
||
|
|
zlib,
|
||
|
|
bzip2,
|
||
|
|
xz,
|
||
|
|
libsamplerate,
|
||
|
|
intltool,
|
||
|
|
pcre,
|
||
|
|
util-linux,
|
||
|
|
libselinux,
|
||
|
|
libsepol,
|
||
|
|
}:
|
||
|
|
|
||
|
|
let
|
||
|
|
inherit
|
||
|
|
(callPackage ./common-drv-attrs.nix {
|
||
|
|
version = "3.2.10";
|
||
|
|
pname = "libmirage";
|
||
|
|
hash = "sha256-+T5Gu3VcprCkSJcq/kTySRnNI7nc+GbRtctLkzPhgK4=";
|
||
|
|
})
|
||
|
|
pname
|
||
|
|
version
|
||
|
|
src
|
||
|
|
meta
|
||
|
|
;
|
||
|
|
in
|
||
|
|
stdenv.mkDerivation {
|
||
|
|
inherit pname version src;
|
||
|
|
|
||
|
|
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";
|
||
|
|
buildInputs = [
|
||
|
|
glib
|
||
|
|
libsndfile
|
||
|
|
zlib
|
||
|
|
bzip2
|
||
|
|
xz
|
||
|
|
libsamplerate
|
||
|
|
];
|
||
|
|
nativeBuildInputs = [
|
||
|
|
cmake
|
||
|
|
pkg-config
|
||
|
|
intltool
|
||
|
|
gobject-introspection
|
||
|
|
vala
|
||
|
|
];
|
||
|
|
propagatedBuildInputs = [
|
||
|
|
pcre
|
||
|
|
util-linux
|
||
|
|
libselinux
|
||
|
|
libsepol
|
||
|
|
];
|
||
|
|
|
||
|
|
meta = {
|
||
|
|
inherit (meta)
|
||
|
|
maintainers
|
||
|
|
license
|
||
|
|
platforms
|
||
|
|
;
|
||
|
|
description = "CD-ROM image access library";
|
||
|
|
homepage = "https://cdemu.sourceforge.io/about/libmirage/";
|
||
|
|
};
|
||
|
|
}
|