mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
zig: 0.1.1 -> 0.2.0
This commit is contained in:
parent
805721bdda
commit
dc3b791854
|
@ -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 ];
|
||||
|
|
|
@ -11851,7 +11851,9 @@ with pkgs;
|
|||
czmq = czmq3;
|
||||
};
|
||||
|
||||
zig = callPackage ../development/compilers/zig {};
|
||||
zig = callPackage ../development/compilers/zig {
|
||||
llvmPackages = llvmPackages_6;
|
||||
};
|
||||
|
||||
zimlib = callPackage ../development/libraries/zimlib { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue