about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorneirenoir <29525767+neirenoir@users.noreply.github.com>2022-03-26 19:01:07 +0100
committerGitHub <noreply@github.com>2022-03-26 20:01:07 +0200
commite13e37b70108f0ebaa75db62eca99bc26898fdc2 (patch)
tree6b4743afc9e057e9f34eda31b4fbfc93e5e9e5a4 /pkgs
parent2f4d0c8e64842251f7f1b546faee8c67560368d0 (diff)
downloadnixlib-e13e37b70108f0ebaa75db62eca99bc26898fdc2.tar
nixlib-e13e37b70108f0ebaa75db62eca99bc26898fdc2.tar.gz
nixlib-e13e37b70108f0ebaa75db62eca99bc26898fdc2.tar.bz2
nixlib-e13e37b70108f0ebaa75db62eca99bc26898fdc2.tar.lz
nixlib-e13e37b70108f0ebaa75db62eca99bc26898fdc2.tar.xz
nixlib-e13e37b70108f0ebaa75db62eca99bc26898fdc2.tar.zst
nixlib-e13e37b70108f0ebaa75db62eca99bc26898fdc2.zip
solc: 0.8.2 -> 0.8.13 (#160957)
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/solc/default.nix13
1 files changed, 11 insertions, 2 deletions
diff --git a/pkgs/development/compilers/solc/default.nix b/pkgs/development/compilers/solc/default.nix
index eea60786f4af..06aa048a260d 100644
--- a/pkgs/development/compilers/solc/default.nix
+++ b/pkgs/development/compilers/solc/default.nix
@@ -34,14 +34,21 @@ let
     sha256 = "18230bg4rq9pmm5f8f65j444jpq56rld4fhmpham8q3vr1c1bdjh";
   };
 
+  fmtlibVersion = "8.0.1";
+  fmtlibUrl = "https://github.com/fmtlib/fmt/archive/${fmtlibVersion}.tar.gz";
+  fmtlib = fetchzip {
+    url = fmtlibUrl;
+    sha256 = "1mnvxqsan034d2jiqnw2yvkljl7lwvhakmj5bscwp1fpkn655bbw";
+  };
+
   solc = gccStdenv.mkDerivation rec {
     pname = "solc";
-    version = "0.8.2";
+    version = "0.8.13";
 
     # upstream suggests avoid using archive generated by github
     src = fetchzip {
       url = "https://github.com/ethereum/solidity/releases/download/v${version}/solidity_${version}.tar.gz";
-      sha256 = "11w7sa1y2dirzh84k04fkwbfc6xpjp5jr65w1pmb2pnkjvvf46xq";
+      hash = "sha256-cFC9M65kSYgYq9rhBXZKEdfvIMbMaDiDwdPmU8v9s7k=";
     };
 
     postPatch = ''
@@ -49,6 +56,8 @@ let
         --replace "${jsoncppUrl}" ${jsoncpp}
       substituteInPlace cmake/range-v3.cmake \
         --replace "${range3Url}" ${range3}
+      substituteInPlace cmake/fmtlib.cmake \
+        --replace "${fmtlibUrl}" ${fmtlib}
     '';
 
     cmakeFlags = [