about summary refs log tree commit diff
path: root/pkgs/development/compilers/nextpnr
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2019-04-09 18:12:11 -0400
committerAustin Seipp <aseipp@pobox.com>2019-04-14 23:48:14 -0500
commita1f3127f406591e794fd48b4fcea2ea04dbe07bd (patch)
tree805a03268d5d48901b3f1a4bb8282a6e8155e6b8 /pkgs/development/compilers/nextpnr
parent44d499644b25a56473af20b1aa8fac4c1bb427bb (diff)
downloadnixlib-a1f3127f406591e794fd48b4fcea2ea04dbe07bd.tar
nixlib-a1f3127f406591e794fd48b4fcea2ea04dbe07bd.tar.gz
nixlib-a1f3127f406591e794fd48b4fcea2ea04dbe07bd.tar.bz2
nixlib-a1f3127f406591e794fd48b4fcea2ea04dbe07bd.tar.lz
nixlib-a1f3127f406591e794fd48b4fcea2ea04dbe07bd.tar.xz
nixlib-a1f3127f406591e794fd48b4fcea2ea04dbe07bd.tar.zst
nixlib-a1f3127f406591e794fd48b4fcea2ea04dbe07bd.zip
nextpnr: 2019.02.20 -> 2019.04.02
Diffstat (limited to 'pkgs/development/compilers/nextpnr')
-rw-r--r--pkgs/development/compilers/nextpnr/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/compilers/nextpnr/default.nix b/pkgs/development/compilers/nextpnr/default.nix
index ef07b01a750b..5f0bb45933be 100644
--- a/pkgs/development/compilers/nextpnr/default.nix
+++ b/pkgs/development/compilers/nextpnr/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchFromGitHub, cmake, makeWrapper
-, boost, python3
+, boost, python3, eigen
 , icestorm, trellis
 
 # TODO(thoughtpolice) Currently the GUI build seems broken at runtime on my
@@ -27,18 +27,18 @@ let
 in
 stdenv.mkDerivation rec {
   name = "nextpnr-${version}";
-  version = "2019.02.20";
+  version = "2019.04.02";
 
   src = fetchFromGitHub {
     owner  = "yosyshq";
     repo   = "nextpnr";
-    rev    = "e8d3aaaf34895a073e4023192d97fc936d090990";
-    sha256 = "0ijqpjnn7x16crd6cmd4nmgay320flizmjb7bbvg9hv464z3p4x7";
+    rev    = "6adf37e3c1d4301e087d89c9e9c37563fe8d78df";
+    sha256 = "0qqb2yd2s39hahh5qigvllgyzj7rp3r1k9jp2n9z2jrfpiaz68c6";
   };
 
   nativeBuildInputs = [ cmake makeWrapper ];
   buildInputs
-     = [ boostPython python3 ]
+     = [ boostPython python3 eigen ]
     ++ (stdenv.lib.optional enableGui qtbase);
 
   enableParallelBuilding = true;
@@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
   postInstall = stdenv.lib.optionalString enableGui ''
     for x in generic ice40 ecp5; do
       wrapProgram $out/bin/nextpnr-$x \
-        --prefix QT_PLUGIN_PATH : ${qtbase}/lib/qt-${qtbase.qtCompatVersion}/plugins
+        --prefix QT_PLUGIN_PATH : "${qtbase}/${qtbase.qtPluginPrefix}"
     done
   '';