2022-11-25 18:24:31 +00:00
|
|
|
{ lib, stdenv, fetchurl, glib, dconf, pkg-config, dbus-glib, telepathy-glib, python3, libxslt, makeWrapper }:
|
2014-12-08 14:59:06 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "telepathy-idle";
|
2022-11-25 18:24:31 +00:00
|
|
|
version = "0.2.2";
|
2014-12-08 14:59:06 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "http://telepathy.freedesktop.org/releases/${pname}/${pname}-${version}.tar.gz";
|
2022-11-25 18:24:31 +00:00
|
|
|
hash = "sha256-g4fiXl+wtMvnAeXcCS1mbWUQuDP9Pn5GLpFw027DwV8=";
|
2014-12-08 14:59:06 +00:00
|
|
|
};
|
|
|
|
|
2022-11-25 18:24:31 +00:00
|
|
|
nativeBuildInputs = [ pkg-config python3 makeWrapper ];
|
|
|
|
buildInputs = [ glib telepathy-glib dbus-glib libxslt (lib.getLib dconf) ];
|
2017-07-24 04:24:11 +00:00
|
|
|
|
|
|
|
preFixup = ''
|
|
|
|
wrapProgram "$out/libexec/telepathy-idle" \
|
2021-01-15 05:42:41 +00:00
|
|
|
--prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules"
|
2017-07-24 04:24:11 +00:00
|
|
|
'';
|
2014-12-08 14:59:06 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "IRC connection manager for the Telepathy framework";
|
2023-10-16 22:40:48 +00:00
|
|
|
homepage = "https://telepathy.freedesktop.org/components/telepathy-idle/";
|
|
|
|
license = lib.licenses.lgpl21Plus;
|
|
|
|
platforms = lib.platforms.unix;
|
2014-12-08 14:59:06 +00:00
|
|
|
};
|
|
|
|
}
|