Merge pull request #59198 from dtzWill/update/zig-0.4.0
zig: 0.3.0 -> 0.4.0
This commit is contained in:
commit
8e76f22e57
@ -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/;
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user