2019-03-19 15:46:28 +08:00
|
|
|
{ stdenv, fetchFromGitHub, python3Packages, nmigen, jtagtap }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonPackage {
|
|
|
|
name = "minerva";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lambdaconcept";
|
|
|
|
repo = "minerva";
|
2019-06-06 18:04:56 +08:00
|
|
|
rev = "eefcbd066f2144422b06b398b4651dbd86db52b6";
|
|
|
|
sha256 = "0kv5sgyggic90hf4s3xf2aanwqn1961zhvng6hhzmjsqn1m17rdq";
|
2019-03-19 15:46:28 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ nmigen jtagtap ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A 32-bit RISC-V soft processor";
|
|
|
|
homepage = "https://m-labs.hk/migen";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = [ maintainers.sb0 ];
|
|
|
|
};
|
|
|
|
}
|