File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed
Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change 1919
2020stdenv . mkDerivation rec {
2121 pname = "sby" ;
22- version = "0.47 " ;
22+ version = "0.48 " ;
2323
2424 src = fetchFromGitHub {
2525 owner = "YosysHQ" ;
2626 repo = "sby" ;
27- rev = "yosys- ${ version } " ;
28- hash = "sha256-Il2pXw2doaoZrVme2p0dSUUa8dCQtJJrmYitn1MkTD4 =" ;
27+ tag = "v ${ version } " ;
28+ hash = "sha256-icOlWutvajHMCi2YUIGU4v5S63YobXw4fYYUvPoSzo4 =" ;
2929 } ;
3030
31- nativeBuildInputs = [ bash ] ;
32- buildInputs = [
33- pythonEnv
31+ nativeCheckInputs = [
32+ python3
33+ python3 . pkgs . xmlschema
3434 yosys
3535 boolector
3636 yices
@@ -40,7 +40,8 @@ stdenv.mkDerivation rec {
4040 ] ;
4141
4242 postPatch = ''
43- patchShebangs docs/source/conf.py \
43+ patchShebangs --build \
44+ docs/source/conf.py \
4445 docs/source/conf.diff \
4546 tests/autotune/*.sh \
4647 tests/keepgoing/*.sh \
@@ -64,8 +65,6 @@ stdenv.mkDerivation rec {
6465 --replace-fail '/usr/bin/env python3' '${ pythonEnv } /bin/python'
6566 substituteInPlace sbysrc/sby_autotune.py \
6667 --replace-fail '["btorsim", "--vcd"]' '["${ btor2tools } /bin/btorsim", "--vcd"]'
67- substituteInPlace tests/make/required_tools.py \
68- --replace-fail '["btorsim", "--vcd"]' '["${ btor2tools } /bin/btorsim", "--vcd"]'
6968 '' ;
7069
7170 dontBuild = true ;
@@ -89,12 +88,7 @@ stdenv.mkDerivation rec {
8988 runHook postCheck
9089 '' ;
9190
92- passthru . updateScript = nix-update-script {
93- extraArgs = [
94- "--version-regex"
95- "yosys-([0-9].*)"
96- ] ;
97- } ;
91+ passthru . updateScript = nix-update-script { } ;
9892
9993 meta = {
10094 description = "SymbiYosys, a front-end for Yosys-based formal verification flows" ;
You can’t perform that action at this time.
0 commit comments