2019-10-28 01:31:37 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
2020-11-17 15:29:59 +00:00
|
|
|
, pkg-config
|
2019-11-30 23:11:47 +00:00
|
|
|
, dconf
|
2019-10-28 01:31:37 +00:00
|
|
|
, telepathy-glib
|
2019-10-28 01:34:38 +00:00
|
|
|
, python3
|
2019-10-28 01:31:37 +00:00
|
|
|
, libxslt
|
|
|
|
, makeWrapper
|
|
|
|
}:
|
2012-03-14 16:28:11 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "telepathy-mission-control";
|
2020-11-17 15:29:59 +00:00
|
|
|
version = "5.16.6";
|
2012-03-14 16:28:11 +00:00
|
|
|
|
2019-10-28 23:53:11 +00:00
|
|
|
outputs = [ "out" "lib" "dev" ];
|
|
|
|
|
2012-03-14 16:28:11 +00:00
|
|
|
src = fetchurl {
|
2019-10-28 01:31:37 +00:00
|
|
|
url = "https://telepathy.freedesktop.org/releases/${pname}/${pname}-${version}.tar.gz";
|
2020-11-17 15:29:59 +00:00
|
|
|
sha256 = "0ibs575pfr0wmhfcw6ln6iz7gw2y45l3bah11rksf6g9jlwsxy1d";
|
2012-03-14 16:28:11 +00:00
|
|
|
};
|
|
|
|
|
2019-10-28 01:31:37 +00:00
|
|
|
buildInputs = [
|
2019-10-28 01:34:38 +00:00
|
|
|
python3
|
2019-10-28 01:31:37 +00:00
|
|
|
]; # ToDo: optional stuff missing
|
2012-03-14 16:28:11 +00:00
|
|
|
|
2019-10-28 01:31:37 +00:00
|
|
|
nativeBuildInputs = [
|
2020-11-17 15:29:59 +00:00
|
|
|
pkg-config
|
2019-10-28 01:31:37 +00:00
|
|
|
libxslt
|
|
|
|
makeWrapper
|
|
|
|
];
|
2014-04-08 14:02:15 +01:00
|
|
|
|
2019-10-28 23:25:26 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
telepathy-glib
|
|
|
|
];
|
|
|
|
|
2014-06-19 22:36:48 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
2019-10-28 23:53:11 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-04-08 14:02:15 +01:00
|
|
|
preFixup = ''
|
2019-10-28 23:53:11 +00:00
|
|
|
wrapProgram "$lib/libexec/mission-control-5" \
|
2019-11-30 23:11:47 +00:00
|
|
|
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules" \
|
2014-04-08 14:02:15 +01:00
|
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
|
|
'';
|
2014-06-19 22:36:48 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An account manager and channel dispatcher for the Telepathy framework";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://telepathy.freedesktop.org/components/telepathy-mission-control/";
|
2020-11-17 15:29:59 +00:00
|
|
|
license = licenses.lgpl21Only;
|
2017-12-18 03:58:40 +00:00
|
|
|
maintainers = with maintainers; [ jtojnar ];
|
2014-06-19 22:36:48 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2012-03-14 16:28:11 +00:00
|
|
|
}
|