nixpkgs/pkgs/applications/networking/instant-messengers/telepathy/idle/default.nix

26 lines
869 B
Nix
Raw Normal View History

2019-11-30 23:11:47 +00:00
{ stdenv, fetchurl, glib, dconf, pkgconfig, dbus-glib, telepathy-glib, libxslt, makeWrapper }:
stdenv.mkDerivation rec {
pname = "telepathy-idle";
version = "0.2.0";
src = fetchurl {
url = "http://telepathy.freedesktop.org/releases/${pname}/${pname}-${version}.tar.gz";
sha256 = "1argdzbif1vdmwp5vqbgkadq9ancjmgdm2ncp0qfckni715ss4rh";
};
nativeBuildInputs = [ pkgconfig ];
2019-11-30 23:11:47 +00:00
buildInputs = [ glib telepathy-glib dbus-glib libxslt telepathy-glib.python (stdenv.lib.getLib dconf) makeWrapper ];
preFixup = ''
wrapProgram "$out/libexec/telepathy-idle" \
2019-11-30 23:11:47 +00:00
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules"
'';
meta = {
description = "IRC connection manager for the Telepathy framework";
license = stdenv.lib.licenses.lgpl21;
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
};
}