groovylight/litex/litescope.nix

28 lines
422 B
Nix
Raw Permalink Normal View History

2024-09-26 06:45:57 +00:00
tag:
{
pkgs,
lib,
buildPythonPackage,
migen,
setuptools,
litex,
}:
buildPythonPackage {
2024-04-19 15:13:39 +00:00
pname = "litescope";
version = "${tag}";
src = pkgs.fetchFromGitHub {
owner = "enjoy-digital";
repo = "litescope";
rev = "${tag}";
hash = "sha256-OWC+XwB+BzlCQkPKJCbQ0W4T6JbsInldrn9jYYjWypM=";
};
2024-09-26 06:45:57 +00:00
buildInputs = [ litex ];
2024-04-19 15:13:39 +00:00
checkPhase = ''
python -m unittest test
'';
doCheck = true;
}