python3Packages.cocotb: fix failing build (#231184)

Signed-off-by: Jack Leightcap <jack@leightcap.com>
This commit is contained in:
Jack Leightcap 2023-05-15 04:12:51 -04:00 committed by GitHub
parent 054175b2a1
commit 70c1240b6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@
, setuptools , setuptools
, setuptools-scm , setuptools-scm
, cocotb-bus , cocotb-bus
, find-libpython
, pytestCheckHook , pytestCheckHook
, swig , swig
, verilog , verilog
@ -24,7 +25,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools-scm ]; nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ setuptools ]; buildInputs = [ setuptools find-libpython ];
postPatch = '' postPatch = ''
patchShebangs bin/*.py patchShebangs bin/*.py