groovylight/litex/liteiclink.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

25 lines
394 B
Nix

tag:
{
pkgs,
buildPythonPackage,
litex,
}:
buildPythonPackage {
pname = "liteiclink";
version = "${tag}";
src = pkgs.fetchFromGitHub {
owner = "enjoy-digital";
repo = "liteiclink";
rev = "${tag}";
hash = "sha256-5Hp5vFqmfkXo1q60FvOkToTy952svirChIPIvkam04M=";
};
buildInputs = [ litex ];
checkPhase = ''
python -m unittest test
'';
doCheck = true;
}