generated from saji/ecp5-template
19 lines
576 B
Nix
19 lines
576 B
Nix
|
# overlay python patched version with amaranth/boards updated.
|
||
|
final: prev: {
|
||
|
python3 = prev.python3.override {
|
||
|
packageOverrides = pyfinal: pyprev: {
|
||
|
amaranth = pyprev.amaranth.overridePythonAttrs {
|
||
|
version = "0.6.0.dev53";
|
||
|
src = prev.pkgs.fetchFromGitHub {
|
||
|
owner = "amaranth-lang";
|
||
|
repo = "amaranth";
|
||
|
rev = "e30d822a7d93ee615e70e95a9958051dcc794802";
|
||
|
hash = "sha256-A46CMWGvqUFTp3geFFccUM9M7iECmNndzWm2GxA8XbE";
|
||
|
};
|
||
|
doCheck = false;
|
||
|
# installCheckPhase = "${prev.python3.interpreter} -m unittest discover -t . -s tests -v";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|