added liteiclink for liteeth annoyingly

Signed-off-by: saji <saji@saji.dev>
This commit is contained in:
saji 2024-04-19 15:39:59 -05:00 committed by saji
parent d798122a87
commit 56aabf4fe9
3 changed files with 26 additions and 0 deletions

View file

@ -39,6 +39,7 @@
liteeth
litescope
litespi
liteiclink
pythondata-cpu-vexriscv
pythondata-software-compiler_rt
pythondata-software-picolibc

View file

@ -9,6 +9,7 @@ in final: prev: {
liteeth = python-final.callPackage(import ./liteeth.nix tag) { };
litescope = python-final.callPackage(import ./litescope.nix tag) { };
litespi = python-final.callPackage(import ./litespi.nix tag) { };
liteiclink = python-final.callPackage(import ./liteiclink.nix tag) { };
pythondata-cpu-vexriscv = python-final.callPackage(import ./pythondata-cpu-vexriscv.nix tag) { };
pythondata-software-compiler_rt = python-final.callPackage(import ./pythondata-software-compiler_rt.nix tag) { };
pythondata-software-picolibc = python-final.callPackage(import ./pythondata-software-picolibc.nix tag) { };

24
litex/liteiclink.nix Normal file
View file

@ -0,0 +1,24 @@
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;
}