mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
bc789064d8
This commit includes a patch to telepathy's derivation, written by Lethalman. This patch makes public the Telepathy's dependency to dbus_glib. This patch will become problematic with the next pkgconfig upgrade but this upgrade should make the patch irrelevant. See these 2 links for more information: - https://bugs.freedesktop.org/show_bug.cgi?id=15199 - https://bugzilla.redhat.com/show_bug.cgi?id=436773 Modified by Luca Bruno: - Moved telepathy_idle to propagatedUserEnvPkgs - Added myself to maintainers - Enable parallel building
26 lines
770 B
Nix
26 lines
770 B
Nix
{ stdenv, fetchurl, dbus_glib, glib, python, pkgconfig, libxslt
|
|
, gobjectIntrospection, valaSupport ? true, vala }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "telepathy-glib-0.24.0";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
|
|
sha256 = "ae0002134991217f42e503c43dea7817853afc18863b913744d51ffa029818cf";
|
|
};
|
|
|
|
configureFlags = stdenv.lib.optional valaSupport "--enable-vala-bindings";
|
|
|
|
propagatedBuildInputs = [dbus_glib glib python gobjectIntrospection];
|
|
|
|
buildInputs = [pkgconfig libxslt] ++ stdenv.lib.optional valaSupport vala;
|
|
|
|
preConfigure = ''
|
|
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://telepathy.freedesktop.org;
|
|
};
|
|
}
|