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