2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, dbus-glib, glib, python2, pkg-config, libxslt
|
2020-04-24 23:36:52 +00:00
|
|
|
, gobject-introspection, vala, glibcLocales }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "telepathy-glib-0.24.1";
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
|
|
|
|
sha256 = "1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy";
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-vala-bindings"
|
|
|
|
];
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
propagatedBuildInputs = [ dbus-glib glib ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config libxslt gobject-introspection vala ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ glibcLocales python2 ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
|
|
|
|
'';
|
|
|
|
|
|
|
|
passthru.python = python2;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://telepathy.freedesktop.org";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = with licenses; [ bsd2 bsd3 lgpl21Plus ];
|
|
|
|
};
|
|
|
|
}
|