groovylight/python.nix

19 lines
576 B
Nix
Raw Normal View History

2024-09-22 15:55:52 +00:00
# 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";
};
};
};
}