2021-03-12 07:09:13 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, dbus-glib
|
|
|
|
, glib
|
|
|
|
, python3
|
|
|
|
, pkg-config
|
|
|
|
, libxslt
|
|
|
|
, gobject-introspection
|
|
|
|
, vala
|
|
|
|
, glibcLocales
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-03-12 07:09:13 +00:00
|
|
|
pname = "telepathy-glib";
|
|
|
|
version = "0.24.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-12 07:09:13 +00:00
|
|
|
url = "${meta.homepage}/releases/telepathy-glib/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "sKN013HN0IESXzjDq9B5ZXZCMBxxpUPVVeK/IZGSc/A=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
strictDeps = true;
|
2021-03-12 07:09:13 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
libxslt
|
|
|
|
gobject-introspection
|
|
|
|
vala
|
2023-04-12 12:48:02 +00:00
|
|
|
python3
|
2021-03-12 07:09:13 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glibcLocales
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dbus-glib
|
|
|
|
glib
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--enable-vala-bindings"
|
|
|
|
];
|
|
|
|
|
2021-03-12 07:09:13 +00:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
|
|
|
|
'';
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|