2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, dbus-glib, glib, python2, pkgconfig, libxslt
|
2018-12-02 11:41:15 +00:00
|
|
|
, gobject-introspection, vala, glibcLocales }:
|
2008-01-28 19:49:44 +00:00
|
|
|
|
2009-04-21 23:18:09 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2016-04-02 10:15:19 +00:00
|
|
|
name = "telepathy-glib-0.24.1";
|
2008-01-28 19:49:44 +00:00
|
|
|
|
2018-09-04 20:40:26 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2009-04-21 23:18:09 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
|
2016-04-02 10:15:19 +00:00
|
|
|
sha256 = "1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy";
|
2009-04-21 23:18:09 +00:00
|
|
|
};
|
2008-01-28 19:49:44 +00:00
|
|
|
|
2018-09-04 20:40:26 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-vala-bindings"
|
|
|
|
];
|
2016-10-18 13:55:15 +00:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
2018-09-04 20:40:26 +00:00
|
|
|
propagatedBuildInputs = [ dbus-glib glib ];
|
2013-02-23 21:20:42 +00:00
|
|
|
|
2018-12-02 11:41:15 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig libxslt gobject-introspection vala ];
|
2017-10-10 20:23:30 +00:00
|
|
|
buildInputs = [ glibcLocales python2 ];
|
2012-03-13 19:06:38 +00:00
|
|
|
|
2018-09-04 20:40:26 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
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;
|
|
|
|
|
2018-10-27 13:47:40 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-06-27 20:12:57 +00:00
|
|
|
homepage = https://telepathy.freedesktop.org;
|
2018-10-27 13:47:40 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = with licenses; [ bsd2 bsd3 lgpl21Plus ];
|
2009-04-21 23:18:09 +00:00
|
|
|
};
|
2008-01-28 19:49:44 +00:00
|
|
|
}
|