35 lines
852 B
Nix
35 lines
852 B
Nix
{ stdenv, fetchurl, pkgconfig, expat, gettext, libiconv, dbus, glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "dbus-glib-0.106";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/releases/dbus-glib/${name}.tar.gz";
|
|
sha256 = "0in0i6v68ixcy0ip28i84hdczf10ykq9x682qgcvls6gdmq552dk";
|
|
};
|
|
|
|
outputs = [ "dev" "out" "docdev" ];
|
|
outputBin = "dev";
|
|
|
|
nativeBuildInputs = [ pkgconfig gettext ];
|
|
|
|
buildInputs = [ expat libiconv ];
|
|
|
|
propagatedBuildInputs = [ dbus glib ];
|
|
|
|
preConfigure = ''
|
|
configureFlagsArray+=("--exec-prefix=$dev")
|
|
'';
|
|
|
|
doCheck = true;
|
|
|
|
passthru = { inherit dbus glib; };
|
|
|
|
meta = {
|
|
homepage = http://dbus.freedesktop.org;
|
|
license = with stdenv.lib.licenses; [ afl21 gpl2 ];
|
|
description = "Obsolete glib bindings for D-Bus lightweight IPC mechanism";
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
};
|
|
}
|