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

27 lines
864 B
Nix
Raw Normal View History

{ stdenv, fetchurl, dbus_glib, glib, python, pkgconfig, libxslt
, gobjectIntrospection, valaSupport ? true, vala_0_23, glibcLocales }:
stdenv.mkDerivation rec {
2016-04-02 11:15:19 +01:00
name = "telepathy-glib-0.24.1";
src = fetchurl {
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
2016-04-02 11:15:19 +01:00
sha256 = "1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy";
};
2014-02-20 09:27:10 +00:00
configureFlags = stdenv.lib.optional valaSupport "--enable-vala-bindings";
LC_ALL = "en_US.UTF-8";
propagatedBuildInputs = [dbus_glib glib python gobjectIntrospection];
buildInputs = [pkgconfig libxslt glibcLocales ] ++ stdenv.lib.optional valaSupport vala_0_23;
preConfigure = ''
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
'';
meta = {
homepage = http://telepathy.freedesktop.org;
platforms = stdenv.lib.platforms.unix;
};
}