diff options
author | Andrew Kelley <superjoe30@gmail.com> | 2018-03-18 20:13:46 -0400 |
---|---|---|
committer | Andrew Kelley <superjoe30@gmail.com> | 2018-03-20 13:32:10 -0400 |
commit | dc3b791854589d7c1c6d210f070a1e82315798f6 (patch) | |
tree | 6c0fc2e533aa8cf427e02089a0b166bc65827ce5 /pkgs/development/compilers/zig | |
parent | 805721bdda1e296d85d873572dd0452675de3476 (diff) |
zig: 0.1.1 -> 0.2.0
Diffstat (limited to 'pkgs/development/compilers/zig')
-rw-r--r-- | pkgs/development/compilers/zig/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/compilers/zig/default.nix b/pkgs/development/compilers/zig/default.nix index cffc683f9e7bc..44d1f7bfe4a2e 100644 --- a/pkgs/development/compilers/zig/default.nix +++ b/pkgs/development/compilers/zig/default.nix @@ -1,17 +1,18 @@ -{ stdenv, fetchFromGitHub, cmake, llvmPackages }: +{ stdenv, fetchFromGitHub, cmake, llvmPackages, libxml2 }: stdenv.mkDerivation rec { - version = "0.1.1"; + version = "0.2.0"; name = "zig-${version}"; src = fetchFromGitHub { owner = "zig-lang"; repo = "zig"; rev = "${version}"; - sha256 = "01yqjyi25f99bfmxxwyh45k7j84z0zg7n9jl8gg0draf96mzdh06"; + sha256 = "0lym28z9mj6hfiq78x1fsd8y89h8xyfc1jgqyazi1g9r72427n07"; }; - buildInputs = [ cmake llvmPackages.clang-unwrapped llvmPackages.llvm ]; + nativeBuildInputs = [ cmake ]; + buildInputs = [ llvmPackages.clang-unwrapped llvmPackages.llvm libxml2 ]; cmakeFlags = [ "-DZIG_LIBC_INCLUDE_DIR=${stdenv.cc.libc_dev}/include" @@ -26,7 +27,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Programming languaged designed for robustness, optimality, and clarity"; - homepage = http://ziglang.org/; + homepage = https://ziglang.org/; license = licenses.mit; platforms = platforms.unix; maintainers = [ maintainers.andrewrk ]; |