python3Packages.cocotb: Mark broken on darwin, remove stale substituteInPlace
This commit is contained in:
parent
2a342932d3
commit
206e998c06
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, setuptools, swig, verilog }:
|
||||
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, setuptools, swig, verilog }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cocotb";
|
||||
@ -25,9 +25,6 @@ buildPythonPackage rec {
|
||||
do
|
||||
substituteInPlace $f --replace 'shell which' 'shell command -v'
|
||||
done
|
||||
|
||||
# This can perhaps be removed in the next update after 1.3.2?
|
||||
substituteInPlace cocotb/share/makefiles/Makefile.inc --replace "-Werror" ""
|
||||
'';
|
||||
|
||||
checkInputs = [ swig verilog ];
|
||||
@ -36,8 +33,7 @@ buildPythonPackage rec {
|
||||
# test expected failures actually pass because of a fix in our icarus version
|
||||
# https://github.com/cocotb/cocotb/issues/1952
|
||||
substituteInPlace tests/test_cases/test_discovery/test_discovery.py \
|
||||
--replace 'def access_single_bit' $'def foo(x): pass\ndef foo' \
|
||||
--replace 'def access_single_bit_assignment' $'def foo(x): pass\ndef foo'
|
||||
--replace 'def access_single_bit' $'def foo(x): pass\ndef foo'
|
||||
|
||||
export PATH=$out/bin:$PATH
|
||||
make test
|
||||
@ -48,5 +44,6 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/cocotb/cocotb";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ matthuszagh ];
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user