bump Nim to 1.6.6

master
Christian Ulrich 2022-05-15 18:22:49 +02:00
parent 71f3dd2476
commit 9bc4b2068d
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 14 additions and 6 deletions

View File

@ -78,11 +78,11 @@ let
pname = "nim-bootstrap"; pname = "nim-bootstrap";
version = "g${lib.substring 0 7 revision}"; version = "g${lib.substring 0 7 revision}";
src = fetchgit { src = fetchFromGitHub {
# A Git checkout is much smaller than a GitHub tarball. owner = "nim-lang";
url = "https://github.com/nim-lang/csources_v1.git"; repo = "csources_v1";
rev = revision; rev = revision;
sha256 = "1c2k681knrha1zmf4abhb32i2wwd3nwflzylnqryxk753swla043"; sha256 = "sha256-gwBFuR7lzO4zttR/6rgdjXMRxVhwKeLqDwpmOwMyU7A=";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
@ -98,12 +98,12 @@ in {
nim-unwrapped = stdenv.mkDerivation rec { nim-unwrapped = stdenv.mkDerivation rec {
pname = "nim-unwrapped"; pname = "nim-unwrapped";
version = "1.6.0"; version = "1.6.6";
strictDeps = true; strictDeps = true;
src = fetchurl { src = fetchurl {
url = "https://nim-lang.org/download/nim-${version}.tar.xz"; url = "https://nim-lang.org/download/nim-${version}.tar.xz";
hash = "sha256-UgZdSNcqcnAuwa/l96mDHhFnNTHiec3/nK7AGgfuxj0="; hash = "sha256-Z7ERzm84YVA7n8wcrln8NNASJWbT7P7zoGSiF0EhpFI=";
}; };
buildInputs = [ boehmgc openssl pcre readline sqlite ]; buildInputs = [ boehmgc openssl pcre readline sqlite ];
@ -183,6 +183,14 @@ in {
install -Dt $out/bin src/nimble install -Dt $out/bin src/nimble
runHook postBuild runHook postBuild
''; '';
meta = with lib; {
description = "Package manager for the Nim programming language";
homepage = "https://github.com/nim-lang/nimble";
license = licenses.bsd3;
maintainers = with maintainers; [ ehmry ];
mainProgram = "nimble";
};
}; };
nim = let nim = let