HeavyX/cores/minerva.nix

22 lines
579 B
Nix

{ stdenv, fetchFromGitHub, python3Packages, nmigen, jtagtap }:
python3Packages.buildPythonPackage {
name = "minerva";
src = fetchFromGitHub {
owner = "lambdaconcept";
repo = "minerva";
rev = "eefcbd066f2144422b06b398b4651dbd86db52b6";
sha256 = "0kv5sgyggic90hf4s3xf2aanwqn1961zhvng6hhzmjsqn1m17rdq";
};
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 ];
};
}