vala: make tests run, but disable
This commit is contained in:
parent
65b4ff488b
commit
4715cfe59f
1 changed files with 9 additions and 2 deletions
|
@ -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
|
||||
}:
|
||||
|
||||
|
@ -7,13 +7,18 @@ let
|
|||
let
|
||||
atLeast = lib.versionAtLeast "${major}.${minor}";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "vala-${major}.${minor}";
|
||||
name = "vala-${version}";
|
||||
version = "${major}.${minor}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/vala/${major}/${name}.tar.xz";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs tests
|
||||
'';
|
||||
|
||||
outputs = [ "out" "devdoc" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -26,6 +31,8 @@ let
|
|||
] ++ lib.optional (atLeast "0.38") graphviz
|
||||
++ extraBuildInputs;
|
||||
|
||||
doCheck = false; # fails, requires dbus daemon
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Compiler for GObject type system";
|
||||
homepage = https://wiki.gnome.org/Projects/Vala;
|
||||
|
|
Loading…
Reference in a new issue