54fc43c248
and enable parallel building
53 lines
1.2 KiB
Nix
53 lines
1.2 KiB
Nix
{ stdenv
|
|
, fetchurl
|
|
, pkgconfig
|
|
, gnome3
|
|
, telepathy-glib
|
|
, python3
|
|
, libxslt
|
|
, makeWrapper
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "telepathy-mission-control";
|
|
version = "5.16.5";
|
|
|
|
outputs = [ "out" "lib" "dev" ];
|
|
|
|
src = fetchurl {
|
|
url = "https://telepathy.freedesktop.org/releases/${pname}/${pname}-${version}.tar.gz";
|
|
sha256 = "00xxv38cfdirnfvgyd56m60j0nkmsv5fz6p2ydyzsychicxl6ssc";
|
|
};
|
|
|
|
buildInputs = [
|
|
python3
|
|
]; # ToDo: optional stuff missing
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
libxslt
|
|
makeWrapper
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
telepathy-glib
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
preFixup = ''
|
|
wrapProgram "$lib/libexec/mission-control-5" \
|
|
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" \
|
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "An account manager and channel dispatcher for the Telepathy framework";
|
|
homepage = https://telepathy.freedesktop.org/components/telepathy-mission-control/;
|
|
license = licenses.lgpl21;
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|