zig: 0.4.0 -> 0.5.0

Release Notes: https://ziglang.org/download/0.5.0/release-notes.html
This commit is contained in:
Mario Rodas 2019-09-30 20:00:00 -05:00
parent dd57c164e9
commit 9e522a736d
No known key found for this signature in database
GPG key ID: 4C4BEFD7B18DC5E8
2 changed files with 7 additions and 3 deletions

View file

@ -1,19 +1,23 @@
{ stdenv, fetchFromGitHub, cmake, llvmPackages, libxml2, zlib }:
stdenv.mkDerivation rec {
version = "0.4.0";
version = "0.5.0";
pname = "zig";
src = fetchFromGitHub {
owner = "ziglang";
repo = pname;
rev = version;
sha256 = "1cq6cc5pvybz9kn3y0j5gskkjq88hkmmcsva54mfzpcc65l3pv6p";
sha256 = "0xyl0riakh6kwb3yvxihb451kqs4ai4q0aygqygnlb2rlr1dn1zb";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ llvmPackages.clang-unwrapped llvmPackages.llvm libxml2 zlib ];
preBuild = ''
export HOME=$TMPDIR;
'';
meta = with stdenv.lib; {
description = "Programming languaged designed for robustness, optimality, and clarity";
homepage = https://ziglang.org/;

View file

@ -14275,7 +14275,7 @@ in
zmqpp = callPackage ../development/libraries/zmqpp { };
zig = callPackage ../development/compilers/zig {
llvmPackages = llvmPackages_8;
llvmPackages = llvmPackages_9;
};
zimlib = callPackage ../development/libraries/zimlib { };