telepathy-glib: clean up
This commit is contained in:
@@ -1,21 +1,27 @@
|
|||||||
{ stdenv, fetchurl, dbus-glib, glib, python2, pkgconfig, libxslt
|
{ stdenv, fetchurl, dbus-glib, glib, python2, pkgconfig, libxslt
|
||||||
, gobjectIntrospection, valaSupport ? true, vala_0_38, glibcLocales }:
|
, gobjectIntrospection, vala, glibcLocales }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "telepathy-glib-0.24.1";
|
name = "telepathy-glib-0.24.1";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
|
url = "${meta.homepage}/releases/telepathy-glib/${name}.tar.gz";
|
||||||
sha256 = "1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy";
|
sha256 = "1symyzbjmxvksn2ifdkk50lafjm2llf2sbmky062gq2pz3cg23cy";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = stdenv.lib.optional valaSupport "--enable-vala-bindings";
|
configureFlags = [
|
||||||
|
"--enable-vala-bindings"
|
||||||
|
];
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
propagatedBuildInputs = [dbus-glib glib gobjectIntrospection];
|
propagatedBuildInputs = [ dbus-glib glib ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig libxslt ] ++ stdenv.lib.optional valaSupport vala_0_38;
|
nativeBuildInputs = [ pkgconfig libxslt gobjectIntrospection vala ];
|
||||||
buildInputs = [ glibcLocales python2 ];
|
buildInputs = [ glibcLocales python2 ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
|
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user