trellis: 2019.08.09 -> 2019.09.01
This commit is contained in:
parent
5eb237659c
commit
2450e41497
|
@ -8,14 +8,16 @@ let
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "trellis";
|
||||
version = "2019.08.09";
|
||||
version = "2019.09.01";
|
||||
realVersion = with stdenv.lib; with builtins;
|
||||
"1.0-53-g${substring 0 7 (elemAt srcs 0).rev}";
|
||||
|
||||
srcs = [
|
||||
(fetchFromGitHub {
|
||||
owner = "symbiflow";
|
||||
repo = "prjtrellis";
|
||||
rev = "a67379179985bb12a611c75d975548cdf6e7d12e";
|
||||
sha256 = "0vqwfsblf7ylz0jnnf532kap5s1d1zcvbavxmb6a4v32b9xfdv35";
|
||||
rev = "98871e0e2959bc8cb4de3c7ebe2b9eddc4efe00c";
|
||||
sha256 = "1yq7ih2xvhfvdpijmbqjq6jcngl6710kiv66hkww5ih8j5dzsq5l";
|
||||
name = "trellis";
|
||||
})
|
||||
(fetchFromGitHub {
|
||||
|
@ -32,6 +34,9 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ cmake python3 ];
|
||||
|
||||
preConfigure = with builtins; ''
|
||||
substituteInPlace libtrellis/CMakeLists.txt \
|
||||
--replace "git describe --tags" "echo ${realVersion}"
|
||||
|
||||
rmdir database && ln -sfv ${elemAt srcs 1} ./database
|
||||
|
||||
source environment.sh
|
||||
|
|
Loading…
Reference in New Issue