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

31 lines
986 B
Nix
Raw Normal View History

{ stdenv, fetchurl, dbus-glib, glib, python2, pkgconfig, libxslt
2017-10-10 20:23:30 +00:00
, gobjectIntrospection, valaSupport ? true, vala_0_38, glibcLocales }:
stdenv.mkDerivation rec {
2016-04-02 10:15:19 +00:00
name = "telepathy-glib-0.24.1";
src = fetchurl {
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
2016-04-02 10:15:19 +00: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 gobjectIntrospection];
2017-10-10 20:23:30 +00:00
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;
2018-10-27 13:47:40 +00:00
meta = with stdenv.lib; {
2018-06-27 20:12:57 +00:00
homepage = https://telepathy.freedesktop.org;
2018-10-27 13:47:40 +00:00
platforms = platforms.unix;
license = with licenses; [ bsd2 bsd3 lgpl21Plus ];
};
}