groovylight/litex/liteiclink.nix

25 lines
394 B
Nix
Raw Normal View History

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