Merge pull request #59198 from dtzWill/update/zig-0.4.0

zig: 0.3.0 -> 0.4.0
This commit is contained in:
Pascal Wittmann 2019-04-09 11:18:55 +02:00 committed by GitHub
commit 8e76f22e57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 10 deletions

View File

@ -1,23 +1,19 @@
{ stdenv, fetchFromGitHub, cmake, llvmPackages, libxml2, zlib }:
stdenv.mkDerivation rec {
version = "0.3.0";
name = "zig-${version}";
version = "0.4.0";
pname = "zig";
src = fetchFromGitHub {
owner = "ziglang";
repo = "zig";
rev = "${version}";
sha256 = "089ywagxjjh7gxv8h8yg7jpmryzjf7n4m5irhdkhp2966d03kyxm";
repo = pname;
rev = version;
sha256 = "1cq6cc5pvybz9kn3y0j5gskkjq88hkmmcsva54mfzpcc65l3pv6p";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ llvmPackages.clang-unwrapped llvmPackages.llvm libxml2 zlib ];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
];
meta = with stdenv.lib; {
description = "Programming languaged designed for robustness, optimality, and clarity";
homepage = https://ziglang.org/;

View File

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