Next-generation FPGA SoC toolkit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
785 B

2 years ago
2 years ago
  1. { stdenv, python3Packages, yosys, symbiyosys, yices, git }:
  2. python3Packages.buildPythonPackage rec {
  3. pname = "nmigen";
  4. version = "0.1rc1";
  5. src = python3Packages.fetchPypi {
  6. inherit pname version;
  7. sha256 = "13vlxn71ackbh8w05fixyxsjypwjginqy9cc5nydlzr3dbhiziw0";
  8. };
  9. checkInputs = [ yosys symbiyosys yices ];
  10. checkPhase = "python -m unittest discover nmigen.test -v";
  11. nativeBuildInputs = [ python3Packages.setuptools_scm git ];
  12. propagatedBuildInputs = [ python3Packages.bitarray python3Packages.pyvcd python3Packages.jinja2 ];
  13. meta = with stdenv.lib; {
  14. description = "A refreshed Python toolbox for building complex digital hardware";
  15. homepage = "https://m-labs.hk";
  16. license = licenses.bsd2;
  17. maintainers = [ maintainers.sb0 ];
  18. };
  19. }