libsoup: enable introspection (gnome3 stuff needs it)
Also some minor refactoring of the expression.
This commit is contained in:
parent
449cfcfa91
commit
ddf5841d74
@ -1,12 +1,13 @@
|
||||
{ stdenv, fetchurl, glib, libxml2, pkgconfig
|
||||
, gnomeSupport ? true, libgnome_keyring, sqlite, glib_networking
|
||||
, gnomeSupport ? true, libgnome_keyring, sqlite, glib_networking, gobjectIntrospection
|
||||
, libintlOrEmpty
|
||||
, intltool, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libsoup-${version}";
|
||||
let
|
||||
majorVersion = "2.45";
|
||||
version = "${majorVersion}.3";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "libsoup-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libsoup/${majorVersion}/libsoup-${version}.tar.xz";
|
||||
@ -19,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = libintlOrEmpty ++ [ intltool python ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs = [ glib libxml2 ]
|
||||
propagatedBuildInputs = [ glib libxml2 gobjectIntrospection ]
|
||||
++ stdenv.lib.optionals gnomeSupport [ libgnome_keyring sqlite ];
|
||||
passthru.propagatedUserEnvPackages = [ glib_networking ];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user