forked from M-Labs/artiq
nix: add jesd204b
This commit is contained in:
parent
d42d607547
commit
ec52a1003d
@ -16,7 +16,7 @@ in
|
||||
xorg.libXext
|
||||
xorg.libXtst
|
||||
xorg.libXi
|
||||
(python3.withPackages(ps: with ps; [ jinja2 numpy artiqpkgs.migen artiqpkgs.microscope artiqpkgs.misoc artiqpkgs.artiq ]))
|
||||
(python3.withPackages(ps: with ps; [ jinja2 numpy artiqpkgs.migen artiqpkgs.microscope artiqpkgs.misoc artiqpkgs.jesd204b artiqpkgs.artiq ]))
|
||||
] ++
|
||||
(with artiqpkgs; [
|
||||
rustc
|
||||
|
@ -9,7 +9,7 @@ let
|
||||
llvm-src = callPackage ./fetch-llvm-clang.nix {};
|
||||
in rec {
|
||||
inherit (rust) cargo rustc;
|
||||
inherit (callPackage ./pkgs/python3Packages.nix {}) migen microscope misoc;
|
||||
inherit (callPackage ./pkgs/python3Packages.nix {}) migen microscope misoc jesd204b;
|
||||
binutils-or1k = callPackage ./pkgs/binutils-or1k.nix {};
|
||||
llvm-or1k = callPackage ./pkgs/llvm-or1k.nix { inherit llvm-src; };
|
||||
llvmlite = callPackage ./pkgs/llvmlite.nix { inherit llvm-or1k; };
|
||||
|
@ -94,4 +94,25 @@ rec {
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
jesd204b = python3Packages.buildPythonPackage rec {
|
||||
version = "git-02cffc";
|
||||
pname = "jesd204b";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "m-labs";
|
||||
repo = "jesd204b";
|
||||
rev = "03d3280690727b12b6522cbd294138e66dd157c9";
|
||||
sha256 = "1hpx4y8ynhsmwsq4ry748q6bkh8jvv2hy8b7hifxjmlh174y8rb0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ migen misoc ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "JESD204B core for Migen/MiSoC";
|
||||
homepage = "https://m-labs.hk/migen";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user