depot/third_party/nixpkgs/pkgs/development/libraries/telepathy/glib/default.nix
Default email 07b8fe0546 Project import generated by Copybara.
GitOrigin-RevId: 916ee862e87ac5ee2439f2fb7856386b4dc906ae
2021-03-12 08:09:13 +01:00

59 lines
1,009 B
Nix

{ lib
, stdenv
, fetchurl
, dbus-glib
, glib
, python3
, pkg-config
, libxslt
, gobject-introspection
, vala
, glibcLocales
}:
stdenv.mkDerivation rec {
pname = "telepathy-glib";
version = "0.24.2";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "${meta.homepage}/releases/telepathy-glib/${pname}-${version}.tar.gz";
sha256 = "sKN013HN0IESXzjDq9B5ZXZCMBxxpUPVVeK/IZGSc/A=";
};
nativeBuildInputs = [
pkg-config
libxslt
gobject-introspection
vala
];
buildInputs = [
glibcLocales
python3
];
propagatedBuildInputs = [
dbus-glib
glib
];
configureFlags = [
"--enable-vala-bindings"
];
LC_ALL = "en_US.UTF-8";
enableParallelBuilding = true;
preConfigure = ''
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
'';
meta = with lib; {
homepage = "https://telepathy.freedesktop.org";
platforms = platforms.unix;
license = with licenses; [ bsd2 bsd3 lgpl21Plus ];
};
}