summary refs log tree commit diff
path: root/pkgs/development/libraries/telepathy/qt/default.nix
blob: a4c90cd1c61f1bcfa6b34126d3d57dba36306e29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ stdenv, fetchurl, cmake, qt4, pkgconfig, python, libxslt, dbus_glib
, telepathy_farstream, telepathy_glib }:

stdenv.mkDerivation rec {
  name = "telepathy-qt-0.9.1";

  src = fetchurl {
    url = "http://telepathy.freedesktop.org/releases/telepathy-qt/${name}.tar.gz";
    sha256 = "0rwyxjk6646r43mvsg01q7rfsah0ni05fa8gxzlx1zhj76db95yh";
  };

  nativeBuildInputs = [ cmake pkgconfig python libxslt ];
  propagatedBuildInputs = [ qt4 dbus_glib telepathy_farstream telepathy_glib ];
  preBuild = ''
    NIX_CFLAGS_COMPILE+=" `pkg-config --cflags dbus-glib-1`"
  '';
}