mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
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 <aseipp@pobox.com>
This commit is contained in:
parent
3b6c08b55b
commit
4b09bee83e
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user