13 buildPythonPackage rec {
19 inherit pname version;
20 sha256 = "1a74k8r21swmfwvgv4c014y6nbcyl229fspxw89ygsgb0j83xnar";
23 disabled = pythonOlder "3.7";
26 # The path to Icarus can still be overridden via an environment variable at runtime.
27 substituteInPlace pyverilog/vparser/preprocessor.py \
29 "iverilog = 'iverilog'" \
30 "iverilog = '${lib.getExe' iverilog "iverilog"}'"
33 build-system = [ setuptools ];
42 substituteInPlace pytest.ini \
43 --replace-fail "python_paths" "pythonpath"
46 nativeCheckInputs = [ pytestCheckHook ];
49 homepage = "https://github.com/PyHDI/Pyverilog";
50 description = "Python-based Hardware Design Processing Toolkit for Verilog HDL";
51 license = licenses.asl20;
52 maintainers = with maintainers; [ trepetti ];