vala: make tests run, but disable
This commit is contained in:
parent
65b4ff488b
commit
4715cfe59f
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl, pkgconfig, flex, bison, libxslt, autoconf, graphviz
|
{ stdenv, lib, fetchurl, pkgconfig, flex, bison, libxslt, autoconf, automake, graphviz
|
||||||
, glib, libiconv, libintl, libtool, expat
|
, glib, libiconv, libintl, libtool, expat
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -7,13 +7,18 @@ let
|
|||||||
let
|
let
|
||||||
atLeast = lib.versionAtLeast "${major}.${minor}";
|
atLeast = lib.versionAtLeast "${major}.${minor}";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "vala-${major}.${minor}";
|
name = "vala-${version}";
|
||||||
|
version = "${major}.${minor}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/vala/${major}/${name}.tar.xz";
|
url = "mirror://gnome/sources/vala/${major}/${name}.tar.xz";
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
patchShebangs tests
|
||||||
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "devdoc" ];
|
outputs = [ "out" "devdoc" ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -26,6 +31,8 @@ let
|
|||||||
] ++ lib.optional (atLeast "0.38") graphviz
|
] ++ lib.optional (atLeast "0.38") graphviz
|
||||||
++ extraBuildInputs;
|
++ extraBuildInputs;
|
||||||
|
|
||||||
|
doCheck = false; # fails, requires dbus daemon
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Compiler for GObject type system";
|
description = "Compiler for GObject type system";
|
||||||
homepage = https://wiki.gnome.org/Projects/Vala;
|
homepage = https://wiki.gnome.org/Projects/Vala;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user