Skip to content

Commit 2c9288a

Browse files
authored
sby: 0.47 -> 0.48 (#369528)
2 parents 16dab34 + 68891b6 commit 2c9288a

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

pkgs/by-name/sb/sby/package.nix

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ in
1919

2020
stdenv.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";

0 commit comments

Comments
 (0)