depot/third_party/nixpkgs/pkgs/development/libraries/telepathy/glib/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

36 lines
969 B
Nix

{ stdenv, fetchurl, dbus-glib, glib, python2, pkgconfig, libxslt
, gobject-introspection, vala, glibcLocales }:
stdenv.mkDerivation rec {
name = "telepathy-glib-0.24.1";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
sha256 = "1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy";
};
configureFlags = [
"--enable-vala-bindings"
];
LC_ALL = "en_US.UTF-8";
propagatedBuildInputs = [ dbus-glib glib ];
nativeBuildInputs = [ pkgconfig libxslt gobject-introspection vala ];
buildInputs = [ glibcLocales python2 ];
enableParallelBuilding = true;
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 ];
};
}