forked from M-Labs/artiq
flake: add jesd204b
This commit is contained in:
parent
59065c4663
commit
ea9bc04407
14
flake.nix
14
flake.nix
|
@ -181,6 +181,18 @@
|
|||
propagatedBuildInputs = with pkgs.python3Packages; [ jinja2 numpy migen pyserial asyncserial ];
|
||||
};
|
||||
|
||||
jesd204b = pkgs.python3Packages.buildPythonPackage rec {
|
||||
pname = "jesd204b";
|
||||
version = "unstable-2021-05-05";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "m-labs";
|
||||
repo = "jesd204b";
|
||||
rev = "bf1cd9014c8b7a9db67609f653634daaf3bcd39b";
|
||||
sha256 = "sha256-wyYOCRIPANReeCl+KaIpiAStsn2mzfMlK+cSrUzVrAw=";
|
||||
};
|
||||
propagatedBuildInputs = with pkgs.python3Packages; [ migen misoc ];
|
||||
};
|
||||
|
||||
cargo-xbuild = rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-xbuild";
|
||||
version = "0.6.5";
|
||||
|
@ -333,7 +345,7 @@
|
|||
devShell.x86_64-linux = pkgs.mkShell {
|
||||
name = "artiq-dev-shell";
|
||||
buildInputs = [
|
||||
(pkgs.python3.withPackages(ps: with packages.x86_64-linux; [ migen misoc artiq ps.paramiko ps.jsonschema ]))
|
||||
(pkgs.python3.withPackages(ps: with packages.x86_64-linux; [ migen misoc jesd204b artiq ps.paramiko ps.jsonschema ]))
|
||||
rustPlatform.rust.rustc
|
||||
rustPlatform.rust.cargo
|
||||
cargo-xbuild
|
||||
|
|
Loading…
Reference in New Issue