generated from saji/ecp5-template
added liteiclink for liteeth annoyingly
Signed-off-by: saji <saji@saji.dev>
This commit is contained in:
parent
d798122a87
commit
56aabf4fe9
|
@ -39,6 +39,7 @@
|
||||||
liteeth
|
liteeth
|
||||||
litescope
|
litescope
|
||||||
litespi
|
litespi
|
||||||
|
liteiclink
|
||||||
pythondata-cpu-vexriscv
|
pythondata-cpu-vexriscv
|
||||||
pythondata-software-compiler_rt
|
pythondata-software-compiler_rt
|
||||||
pythondata-software-picolibc
|
pythondata-software-picolibc
|
||||||
|
|
|
@ -9,6 +9,7 @@ in final: prev: {
|
||||||
liteeth = python-final.callPackage(import ./liteeth.nix tag) { };
|
liteeth = python-final.callPackage(import ./liteeth.nix tag) { };
|
||||||
litescope = python-final.callPackage(import ./litescope.nix tag) { };
|
litescope = python-final.callPackage(import ./litescope.nix tag) { };
|
||||||
litespi = python-final.callPackage(import ./litespi.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-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-compiler_rt = python-final.callPackage(import ./pythondata-software-compiler_rt.nix tag) { };
|
||||||
pythondata-software-picolibc = python-final.callPackage(import ./pythondata-software-picolibc.nix tag) { };
|
pythondata-software-picolibc = python-final.callPackage(import ./pythondata-software-picolibc.nix tag) { };
|
||||||
|
|
24
litex/liteiclink.nix
Normal file
24
litex/liteiclink.nix
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue