telepathy_mission_control: minor update, doCheck

Also add meta, and support upower.
This commit is contained in:
Vladimír Čunát 2014-06-19 23:36:48 +02:00
parent 87ef13ee80
commit a00c345343

View file

@ -1,20 +1,29 @@
{ stdenv, fetchurl, pkgconfig, telepathy_glib, libxslt, makeWrapper }: { stdenv, fetchurl, pkgconfig, telepathy_glib, libxslt, makeWrapper, upower }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${pname}-5.16.0"; name = "${pname}-5.16.2";
pname = "telepathy-mission-control"; pname = "telepathy-mission-control";
src = fetchurl { src = fetchurl {
url = "http://telepathy.freedesktop.org/releases/${pname}/${name}.tar.gz"; url = "http://telepathy.freedesktop.org/releases/${pname}/${name}.tar.gz";
sha256 = "1l61w6j04mbrjsbcfrlc0safh9nlsjnj0z6lszal64r9bhkcghzd"; sha256 = "1sk8f9jfaxgbsniz0n5hmrcwvxla3x8axjcnjbppg7nidk9gijrx";
}; };
buildInputs = [ telepathy_glib makeWrapper ]; buildInputs = [ telepathy_glib makeWrapper upower ]; # ToDo: optional stuff missing
nativeBuildInputs = [ pkgconfig libxslt ]; nativeBuildInputs = [ pkgconfig libxslt ];
doCheck = true;
preFixup = '' preFixup = ''
wrapProgram "$out/libexec/mission-control-5" \ wrapProgram "$out/libexec/mission-control-5" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
''; '';
meta = with stdenv.lib; {
description = "An account manager and channel dispatcher for the Telepathy framework";
homepage = http://telepathy.freedesktop.org/wiki/;
license = licenses.lgpl21;
platforms = platforms.unix;
};
} }