libsecret: make tests run, but disable, also cleanup
This commit is contained in:
parent
50556b50b7
commit
995c506a30
@ -1,10 +1,9 @@
|
|||||||
{ stdenv, fetchurl, glib, pkgconfig, intltool, libxslt, docbook_xsl
|
{ stdenv, fetchurl, glib, pkgconfig, intltool, libxslt, docbook_xsl
|
||||||
, libgcrypt, gobjectIntrospection, vala_0_38, gnome3, libintl }:
|
, libgcrypt, gobjectIntrospection, vala_0_38, gnome3, libintl }:
|
||||||
let
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
pname = "libsecret";
|
pname = "libsecret";
|
||||||
version = "0.18.5";
|
version = "0.18.5";
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@ -12,6 +11,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww";
|
sha256 = "1cychxc3ff8fp857iikw0n2s13s2mhw2dn1mr632f7w3sn6vvrww";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs .
|
||||||
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ glib ];
|
propagatedBuildInputs = [ glib ];
|
||||||
@ -19,6 +22,10 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ libgcrypt gobjectIntrospection vala_0_38 ];
|
buildInputs = [ libgcrypt gobjectIntrospection vala_0_38 ];
|
||||||
# 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 ];
|
||||||
|
|
||||||
|
doCheck = false; # fails. with python3 tests fail to evaluate, with python2 they fail to run python3
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
Loading…
Reference in New Issue
Block a user