mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
5c507048dd
* Move pkgconfig and gettext to buildNativeInputs * Add deprecation warning svn path=/nixpkgs/branches/stdenv-updates/; revision=30894
26 lines
716 B
Nix
26 lines
716 B
Nix
{ stdenv, fetchurl, pkgconfig, expat, gettext, libiconv, dbus, glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "dbus-glib-0.98";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/releases/dbus-glib/${name}.tar.gz";
|
|
sha256 = "04fiwld5yaxyggxlvdmbaqkngh4fn8gfkkqckcp3274bpgb82z19";
|
|
};
|
|
|
|
buildNativeInputs = [ pkgconfig gettext ];
|
|
|
|
buildInputs = [ expat ] ++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
|
|
|
propagatedBuildInputs = [ dbus glib ];
|
|
|
|
passthru = { inherit dbus glib; };
|
|
|
|
meta = {
|
|
homepage = http://dbus.freedesktop.org;
|
|
license = "AFL-2.1 or GPL-2";
|
|
description = "Obsolete glib bindings for D-Bus lightweight IPC mechanism";
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
};
|
|
}
|