From 4b09bee83e921707c04c87bf75ef86e914d41a7d Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Wed, 14 Feb 2018 00:15:34 -0600 Subject: arachne-pnr: 2018.02.04 -> 2018.02.14 Also fixes 'arachne-pnr --version' output to correctly print the right Git SHA1 revision. Signed-off-by: Austin Seipp --- pkgs/development/compilers/arachne-pnr/default.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'pkgs/development/compilers/arachne-pnr') diff --git a/pkgs/development/compilers/arachne-pnr/default.nix b/pkgs/development/compilers/arachne-pnr/default.nix index 8dcebbf442b1..97eb8e8b6421 100644 --- a/pkgs/development/compilers/arachne-pnr/default.nix +++ b/pkgs/development/compilers/arachne-pnr/default.nix @@ -1,21 +1,29 @@ { stdenv, fetchFromGitHub, icestorm }: +with builtins; + stdenv.mkDerivation rec { name = "arachne-pnr-${version}"; - version = "2018.02.04"; + version = "2018.02.14"; src = fetchFromGitHub { owner = "cseed"; repo = "arachne-pnr"; - rev = "c21df0062c6ee13e8c8280cefbb7c017823336c0"; - sha256 = "1ah1gn07av3ff5lnay4p7dahaacbyj0mfakbx7g5fs3p1m1m8p1k"; + rev = "b54675413f9aac1d9a1fb0a8e9354bec2a2a8f3c"; + sha256 = "06slsb239qk1r2g96n1g37yp8314cy7yi4g1yf86fr87fr11ml8l"; }; enableParallelBuilding = true; makeFlags = - [ "PREFIX=$(out)" "ICEBOX=${icestorm}/share/icebox" + [ "PREFIX=$(out)" + "ICEBOX=${icestorm}/share/icebox" ]; + patchPhase = '' + substituteInPlace ./Makefile \ + --replace 'echo UNKNOWN' 'echo ${substring 0 10 src.rev}' + ''; + meta = { description = "Place and route tool for FPGAs"; longDescription = '' -- cgit 1.4.1