libsecret: 0.18.5 → 0.18.6
This commit is contained in:
parent
3844468c93
commit
6182a3fe4d
@ -1,30 +1,39 @@
|
|||||||
{ stdenv, fetchurl, glib, pkgconfig, intltool, libxslt, docbook_xsl
|
{ stdenv, fetchurl, glib, pkgconfig, intltool, libxslt, python3, docbook_xsl, docbook_xml_dtd_42
|
||||||
, libgcrypt, gobjectIntrospection, vala_0_38, gnome3, libintl }:
|
, libgcrypt, gobjectIntrospection, vala, gtk-doc, gnome3, libintl, dbus, xvfb_run }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libsecret";
|
pname = "libsecret";
|
||||||
version = "0.18.5";
|
version = "0.18.6";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||||
sha256 = "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww";
|
sha256 = "0vynag97a9bnnb8ipah45av8xg8jzmhd572rw3zj78s1pa8ciysy";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
'';
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ glib ];
|
propagatedBuildInputs = [ glib ];
|
||||||
nativeBuildInputs = [ pkgconfig intltool libxslt docbook_xsl libintl ];
|
nativeBuildInputs = [ pkgconfig intltool libxslt docbook_xsl docbook_xml_dtd_42 libintl gobjectIntrospection vala gtk-doc ];
|
||||||
buildInputs = [ libgcrypt gobjectIntrospection vala_0_38 ];
|
buildInputs = [ libgcrypt ];
|
||||||
# optional: build docs with gtk-doc? (probably needs a flag as well)
|
# optional: build docs with gtk-doc? (probably needs a flag as well)
|
||||||
|
|
||||||
# checkInputs = [ python2 ];
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
doCheck = false; # fails. with python3 tests fail to evaluate, with python2 they fail to run python3
|
installCheckInputs = [ python3 python3.pkgs.dbus-python python3.pkgs.pygobject3 xvfb_run dbus gnome3.gjs ];
|
||||||
|
|
||||||
|
# needs to run after install because typelibs point to absolute paths
|
||||||
|
doInstallCheck = false; # Failed to load shared library '/force/shared/libmock_service.so.0' referenced by the typelib
|
||||||
|
installCheckPhase = ''
|
||||||
|
export NO_AT_BRIDGE=1
|
||||||
|
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
|
||||||
|
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
|
||||||
|
make check
|
||||||
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user