1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 21:17:46 +00:00
nixpkgs/pkgs/development/libraries/telepathy/glib/default.nix
2018-10-28 00:26:11 +02:00

31 lines
986 B
Nix

{ stdenv, fetchurl, dbus-glib, glib, python2, pkgconfig, libxslt
, gobjectIntrospection, valaSupport ? true, vala_0_38, glibcLocales }:
stdenv.mkDerivation rec {
name = "telepathy-glib-0.24.1";
src = fetchurl {
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
sha256 = "1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy";
};
configureFlags = stdenv.lib.optional valaSupport "--enable-vala-bindings";
LC_ALL = "en_US.UTF-8";
propagatedBuildInputs = [dbus-glib glib gobjectIntrospection];
nativeBuildInputs = [ pkgconfig libxslt ] ++ stdenv.lib.optional valaSupport vala_0_38;
buildInputs = [ glibcLocales python2 ];
preConfigure = ''
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
'';
passthru.python = python2;
meta = with stdenv.lib; {
homepage = https://telepathy.freedesktop.org;
platforms = platforms.unix;
license = with licenses; [ bsd2 bsd3 lgpl21Plus ];
};
}