groovylight/litex/litedram.nix

30 lines
424 B
Nix
Raw Permalink Normal View History

2024-09-26 06:45:57 +00:00
tag:
{
pkgs,
lib,
buildPythonPackage,
migen,
pyyaml,
}:
buildPythonPackage {
2024-04-19 15:13:39 +00:00
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;
}