2016-11-18 09:10:49 +00:00
|
|
|
{ stdenv, fetchurl, dbus_glib, glib, python2, pkgconfig, libxslt
|
2016-10-18 14:55:15 +01:00
|
|
|
, gobjectIntrospection, valaSupport ? true, vala_0_23, glibcLocales }:
|
2008-01-28 19:49:44 +00:00
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2016-04-02 11:15:19 +01:00
|
|
|
name = "telepathy-glib-0.24.1";
|
2008-01-28 19:49:44 +00:00
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
|
2016-04-02 11:15:19 +01:00
|
|
|
sha256 = "1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy";
|
2009-04-22 00:18:09 +01:00
|
|
|
};
|
2008-01-28 19:49:44 +00:00
|
|
|
|
2014-02-20 09:27:10 +00:00
|
|
|
configureFlags = stdenv.lib.optional valaSupport "--enable-vala-bindings";
|
2016-10-18 14:55:15 +01:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
2016-11-18 15:38:35 +00:00
|
|
|
propagatedBuildInputs = [dbus_glib glib gobjectIntrospection];
|
2013-02-23 21:20:42 +00:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libxslt glibcLocales python2 ] ++ stdenv.lib.optional valaSupport vala_0_23;
|
2012-03-13 19:06:38 +00:00
|
|
|
|
2014-12-08 14:59:06 +00:00
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
|
|
|
|
'';
|
|
|
|
|
2016-11-18 17:29:43 +00:00
|
|
|
passthru.python = python2;
|
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://telepathy.freedesktop.org;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-04-22 00:18:09 +01:00
|
|
|
};
|
2008-01-28 19:49:44 +00:00
|
|
|
}
|