trellis: 2020.11.07 -> 2020.11.25
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
56d7883363
commit
c9325119f2
1 changed files with 5 additions and 8 deletions
|
@ -3,23 +3,20 @@
|
|||
, cmake
|
||||
}:
|
||||
|
||||
let
|
||||
boostWithPython3 = boost.override { python = python3; enablePython = true; };
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "trellis";
|
||||
version = "2020.11.07";
|
||||
version = "2020.11.25";
|
||||
|
||||
# git describe --tags
|
||||
realVersion = with stdenv.lib; with builtins;
|
||||
"1.0-469-g${substring 0 7 (elemAt srcs 0).rev}";
|
||||
"1.0-476-g${substring 0 7 (elemAt srcs 0).rev}";
|
||||
|
||||
srcs = [
|
||||
(fetchFromGitHub {
|
||||
owner = "SymbiFlow";
|
||||
repo = "prjtrellis";
|
||||
rev = "b013a135a9b95c18ece559e19aa73ad6c84446c9";
|
||||
sha256 = "09bx30jm9bgdxmbxf49a27spg4yd1nk5r5mympq7xi28hq1xwjnf";
|
||||
rev = "a441cd9d0390648e96bf27096626eb2c904096de";
|
||||
sha256 = "1rsck44n4mf9v3vfac51ksrhcs84s7q297nq1kjkzzvmsx09gd9k";
|
||||
name = "trellis";
|
||||
})
|
||||
|
||||
|
@ -33,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
sourceRoot = "trellis";
|
||||
|
||||
buildInputs = [ boostWithPython3 ];
|
||||
buildInputs = [ boost ];
|
||||
nativeBuildInputs = [ cmake python3 ];
|
||||
cmakeFlags = [
|
||||
"-DCURRENT_GIT_VERSION=${realVersion}"
|
||||
|
|
Loading…
Reference in a new issue