mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
commit
d5797472e2
@ -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 ];
|
||||
|
@ -11881,7 +11881,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 New Issue
Block a user