forked from mirrors/nixpkgs
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 }:
|
{ stdenv, fetchFromGitHub, icestorm }:
|
||||||
|
|
||||||
|
with builtins;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "arachne-pnr-${version}";
|
name = "arachne-pnr-${version}";
|
||||||
version = "2018.02.04";
|
version = "2018.02.14";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cseed";
|
owner = "cseed";
|
||||||
repo = "arachne-pnr";
|
repo = "arachne-pnr";
|
||||||
rev = "c21df0062c6ee13e8c8280cefbb7c017823336c0";
|
rev = "b54675413f9aac1d9a1fb0a8e9354bec2a2a8f3c";
|
||||||
sha256 = "1ah1gn07av3ff5lnay4p7dahaacbyj0mfakbx7g5fs3p1m1m8p1k";
|
sha256 = "06slsb239qk1r2g96n1g37yp8314cy7yi4g1yf86fr87fr11ml8l";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
makeFlags =
|
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 = {
|
meta = {
|
||||||
description = "Place and route tool for FPGAs";
|
description = "Place and route tool for FPGAs";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue