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
761 B

{ stdenv, fetchFromGitHub, python3Packages, yosys, symbiyosys, yices }:
python3Packages.buildPythonPackage {
name = "nmigen";
src = fetchFromGitHub {
owner = "m-labs";
repo = "nmigen";
rev = "d69a4e29a8e2492dc916d0c7e42d9337c8c6d4c5";
sha256 = "04jndrml6zm9g0p61kd05kzviy0m0yf919c7g2hgdl9n2ja1aw4p";
};
checkPhase = "PATH=${yosys}/bin:${symbiyosys}/bin:${yices}/bin:$PATH python -m unittest discover nmigen.test";
propagatedBuildInputs = [ python3Packages.bitarray python3Packages.pyvcd ];
meta = with stdenv.lib; {
description = "A refreshed Python toolbox for building complex digital hardware";
homepage = "https://lambdaconcept.com";
license = licenses.bsd2;
maintainers = [ maintainers.sb0 ];
};
}