Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.9 kB · 89 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990{ lib, buildPythonPackage, fetchFromGitHub, coreutils, jinja2, pandas, pyparsing, pytestCheckHook, pythonOlder, which, yosys}:
buildPythonPackage rec { pname = "edalize"; version = "0.5.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "olofk"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-jsrJr/iuezh9/KL0PykWB1XKev4Wr5QeDh0ZWNMZSp8="; };
postPatch = '' substituteInPlace tests/test_edam.py \ --replace /usr/bin/touch ${coreutils}/bin/touch patchShebangs tests/mock_commands/vsim '';
propagatedBuildInputs = [ jinja2 ];
passthru.optional-dependencies = { reporting = [ pandas pyparsing ]; };
nativeCheckInputs = [ pytestCheckHook which yosys ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [ "edalize" ];
disabledTestPaths = [ "tests/test_questa_formal.py" "tests/test_slang.py" "tests/test_apicula.py" "tests/test_ascentlint.py" "tests/test_diamond.py" "tests/test_gatemate.py" "tests/test_ghdl.py" "tests/test_icarus.py" "tests/test_icestorm.py" "tests/test_ise.py" "tests/test_mistral.py" "tests/test_openlane.py" "tests/test_oxide.py" "tests/test_quartus.py" "tests/test_radiant.py" "tests/test_spyglass.py" "tests/test_symbiyosys.py" "tests/test_trellis.py" "tests/test_vcs.py" "tests/test_veribleformat.py" "tests/test_veriblelint.py" "tests/test_vivado.py" "tests/test_xcelium.py" "tests/test_xsim.py" ];
meta = with lib; { description = "Abstraction library for interfacing EDA tools"; homepage = "https://github.com/olofk/edalize"; changelog = "https://github.com/olofk/edalize/releases/tag/v${version}"; license = licenses.bsd2; maintainers = with maintainers; [ astro ]; };}