summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorAustin Seipp <aseipp@pobox.com>2021-01-03 04:47:51 -0600
committerAustin Seipp <aseipp@pobox.com>2021-01-03 06:06:33 -0600
commit9a3b4e19bba7bf9c61e5a98f02a0fbb5ea57d42e (patch)
tree7432ba7130721ecb89dbb99f91b3a3fbc38c71de /pkgs/development/tools
parent57f664002be777c21f3c657b774dd9916d79d320 (diff)
downloadnixpkgs-9a3b4e19bba7bf9c61e5a98f02a0fbb5ea57d42e.tar
nixpkgs-9a3b4e19bba7bf9c61e5a98f02a0fbb5ea57d42e.tar.gz
nixpkgs-9a3b4e19bba7bf9c61e5a98f02a0fbb5ea57d42e.tar.bz2
nixpkgs-9a3b4e19bba7bf9c61e5a98f02a0fbb5ea57d42e.tar.lz
nixpkgs-9a3b4e19bba7bf9c61e5a98f02a0fbb5ea57d42e.tar.xz
nixpkgs-9a3b4e19bba7bf9c61e5a98f02a0fbb5ea57d42e.tar.zst
nixpkgs-9a3b4e19bba7bf9c61e5a98f02a0fbb5ea57d42e.zip
icestorm: 2020.08.19 -> 2020.12.04
Adds I2C/SPI support for iCE40 u4k devices (iCE5LP4K?)

PyPy3 is apparently broken for now in the wake of the gcc/glibc upgrade,
so just skip it for now.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/icestorm/default.nix20
1 files changed, 12 insertions, 8 deletions
diff --git a/pkgs/development/tools/icestorm/default.nix b/pkgs/development/tools/icestorm/default.nix
index 15ca059a880..feaea18be18 100644
--- a/pkgs/development/tools/icestorm/default.nix
+++ b/pkgs/development/tools/icestorm/default.nix
@@ -2,27 +2,31 @@
 , pkgconfig, libftdi1
 , python3, pypy3
 
-# PyPy yields large improvements in build time and runtime performance,
-# and IceStorm isn't intended to be used as a library other than by the
-# nextpnr build process (which is also sped up by using PyPy), so we
-# use it by default. See 18839e1 for more details.
+# PyPy yields large improvements in build time and runtime performance, and
+# IceStorm isn't intended to be used as a library other than by the nextpnr
+# build process (which is also sped up by using PyPy), so we use it by default.
+# See 18839e1 for more details.
+#
+# FIXME(aseipp, 3/1/2021): pypy seems a bit busted since stdenv upgrade to gcc
+# 10/binutils 2.34, so short-circuit this for now in passthru below (done so
+# that downstream overrides can't re-enable pypy and break their build somehow)
 , usePyPy ? stdenv.hostPlatform.system == "x86_64-linux"
 }:
 
 stdenv.mkDerivation rec {
   pname = "icestorm";
-  version = "2020.08.19";
+  version = "2020.12.04";
 
   passthru = rec {
-    pythonPkg = if usePyPy then pypy3 else python3;
+    pythonPkg = if (false && usePyPy) then pypy3 else python3;
     pythonInterp = pythonPkg.interpreter;
   };
 
   src = fetchFromGitHub {
     owner  = "YosysHQ";
     repo   = "icestorm";
-    rev    = "da52117ccd5b4147f64dc7345357ec5439cd7543";
-    sha256 = "072bl3vmvb06ry0ci3b1sfjpm3iigb874khzja4azcai969ybp4k";
+    rev    = "7afc64b480212c9ac2ce7cb1622731a69a7d212c";
+    sha256 = "0vxhqs2fampglg3xlfwb35229iv96kvlwp1gyxrdrmlpznhkqdrk";
   };
 
   nativeBuildInputs = [ pkgconfig ];