vala: add 0.38.0

This commit is contained in:
Jan Tojnar 2017-10-03 02:21:00 +02:00
parent d7d774deea
commit a8972678bf
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 14 additions and 5 deletions

View File

@ -1,9 +1,9 @@
{ stdenv, fetchurl, pkgconfig, flex, bison, libxslt
, glib, libiconv, libintlOrEmpty
{ stdenv, fetchurl, pkgconfig, flex, bison, libxslt, autoconf, graphviz
, glib, libiconv, libintlOrEmpty, libtool, expat
}:
let
generic = { major, minor, sha256 }:
generic = { major, minor, sha256, extraNativeBuildInputs ? [], extraBuildInputs ? [] }:
stdenv.mkDerivation rec {
name = "vala-${major}.${minor}";
@ -12,9 +12,9 @@ let
inherit sha256;
};
nativeBuildInputs = [ pkgconfig flex bison libxslt ];
nativeBuildInputs = [ pkgconfig flex bison libxslt ] ++ extraNativeBuildInputs;
buildInputs = [ glib libiconv ] ++ libintlOrEmpty;
buildInputs = [ glib libiconv ] ++ libintlOrEmpty ++ extraBuildInputs;
meta = with stdenv.lib; {
description = "Compiler for GObject type system";
@ -57,5 +57,13 @@ in rec {
sha256 = "16cjybjw100qps6jg0jdyjh8hndz8a876zmxpybnf30a8vygrk7m";
};
vala_0_38 = generic {
major = "0.38";
minor = "1";
sha256 = "112hl3lkcyakrk8c3qgw12gzn3nxjkvx7bn0jhl5f2m57d7k8d8h";
extraNativeBuildInputs = [ autoconf ] ++ stdenv.lib.optionals stdenv.isDarwin [ libtool expat ];
extraBuildInputs = [ graphviz ];
};
vala = vala_0_34;
}

View File

@ -6264,6 +6264,7 @@ with pkgs;
vala_0_28
vala_0_32
vala_0_34
vala_0_38
vala;
valadoc = callPackage ../development/tools/valadoc { };