Merge branch 'master' into staging
Hydra: ?compare=1399476
This commit is contained in:
@@ -10,7 +10,7 @@ let
|
||||
version = release_version; # differentiating these is important for rc's
|
||||
|
||||
fetch = name: sha256: fetchurl {
|
||||
url = "http://llvm.org/releases/${release_version}/${name}-${version}.src.tar.xz";
|
||||
url = "https://releases.llvm.org/${release_version}/${name}-${version}.src.tar.xz";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ which perl jdk openssl coreutils zlib ncurses
|
||||
makeWrapper gcc binutils gnumake nodejs
|
||||
] ++ (with ocamlPackages; [
|
||||
ocaml findlib ocaml_ssl cryptokit camlzip ulex ocamlgraph camlp4
|
||||
ocaml findlib ssl cryptokit camlzip ulex ocamlgraph camlp4
|
||||
]);
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user