nextpnr: 2019.02.20 -> 2019.04.02
This commit is contained in:
parent
44d499644b
commit
a1f3127f40
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchFromGitHub, cmake, makeWrapper
|
{ stdenv, fetchFromGitHub, cmake, makeWrapper
|
||||||
, boost, python3
|
, boost, python3, eigen
|
||||||
, icestorm, trellis
|
, icestorm, trellis
|
||||||
|
|
||||||
# TODO(thoughtpolice) Currently the GUI build seems broken at runtime on my
|
# TODO(thoughtpolice) Currently the GUI build seems broken at runtime on my
|
||||||
|
@ -27,18 +27,18 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nextpnr-${version}";
|
name = "nextpnr-${version}";
|
||||||
version = "2019.02.20";
|
version = "2019.04.02";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "yosyshq";
|
owner = "yosyshq";
|
||||||
repo = "nextpnr";
|
repo = "nextpnr";
|
||||||
rev = "e8d3aaaf34895a073e4023192d97fc936d090990";
|
rev = "6adf37e3c1d4301e087d89c9e9c37563fe8d78df";
|
||||||
sha256 = "0ijqpjnn7x16crd6cmd4nmgay320flizmjb7bbvg9hv464z3p4x7";
|
sha256 = "0qqb2yd2s39hahh5qigvllgyzj7rp3r1k9jp2n9z2jrfpiaz68c6";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [ cmake makeWrapper ];
|
||||||
buildInputs
|
buildInputs
|
||||||
= [ boostPython python3 ]
|
= [ boostPython python3 eigen ]
|
||||||
++ (stdenv.lib.optional enableGui qtbase);
|
++ (stdenv.lib.optional enableGui qtbase);
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
|
||||||
postInstall = stdenv.lib.optionalString enableGui ''
|
postInstall = stdenv.lib.optionalString enableGui ''
|
||||||
for x in generic ice40 ecp5; do
|
for x in generic ice40 ecp5; do
|
||||||
wrapProgram $out/bin/nextpnr-$x \
|
wrapProgram $out/bin/nextpnr-$x \
|
||||||
--prefix QT_PLUGIN_PATH : ${qtbase}/lib/qt-${qtbase.qtCompatVersion}/plugins
|
--prefix QT_PLUGIN_PATH : "${qtbase}/${qtbase.qtPluginPrefix}"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue