nixpkgs/pkgs/development/libraries/telepathy/glib/default.nix

26 lines
770 B
Nix
Raw Normal View History

{ stdenv, fetchurl, dbus_glib, glib, python, pkgconfig, libxslt
2014-02-20 10:27:10 +01:00
, gobjectIntrospection, valaSupport ? true, vala }:
stdenv.mkDerivation rec {
name = "telepathy-glib-0.24.0";
src = fetchurl {
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
sha256 = "ae0002134991217f42e503c43dea7817853afc18863b913744d51ffa029818cf";
};
2014-02-20 10:27:10 +01:00
configureFlags = stdenv.lib.optional valaSupport "--enable-vala-bindings";
propagatedBuildInputs = [dbus_glib glib python gobjectIntrospection];
2014-02-20 10:27:10 +01:00
buildInputs = [pkgconfig libxslt] ++ stdenv.lib.optional valaSupport vala;
preConfigure = ''
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
'';
meta = {
homepage = http://telepathy.freedesktop.org;
};
}