groovylight/litex/litedram.nix
Saji ccdbc98cb0
Some checks failed
Verilator Unit Tests / Test (push) Failing after 3m35s
add flake/nix formatter (nixfmt)
2024-09-26 01:46:28 -05:00

30 lines
424 B
Nix

tag:
{
pkgs,
lib,
buildPythonPackage,
migen,
pyyaml,
}:
buildPythonPackage {
pname = "litedram";
version = "${tag}";
src = pkgs.fetchFromGitHub {
owner = "enjoy-digital";
repo = "litedram";
rev = "${tag}";
hash = "sha256-EaUszy0v6r5sKM5d5YmpRbR8Cf9xITObU71zUpg9cLU=";
};
buildInputs = [
pyyaml
migen
];
checkPhase = ''
python -m unittest test
'';
doCheck = true;
}