2019-02-14 15:29:42 +08:00
|
|
|
{ pkgs ? import <nixpkgs> {}}:
|
|
|
|
|
|
|
|
let
|
2019-07-03 20:26:30 +08:00
|
|
|
artiqpkgs = import ./default.nix { inherit pkgs; };
|
|
|
|
vivado = import ./vivado.nix { inherit pkgs; };
|
2019-02-14 15:29:42 +08:00
|
|
|
in
|
2019-07-03 20:26:30 +08:00
|
|
|
pkgs.mkShell {
|
|
|
|
buildInputs = [
|
|
|
|
vivado
|
|
|
|
pkgs.gnumake
|
2019-08-23 17:01:39 +08:00
|
|
|
(pkgs.python3.withPackages(ps: (with ps; [ jinja2 numpy paramiko ]) ++ (with artiqpkgs; [ migen microscope misoc jesd204b migen-axi artiq ])))
|
2019-07-03 20:26:30 +08:00
|
|
|
pkgs.cargo
|
|
|
|
artiqpkgs.rustc
|
|
|
|
artiqpkgs.binutils-or1k
|
|
|
|
artiqpkgs.llvm-or1k
|
|
|
|
artiqpkgs.openocd
|
|
|
|
];
|
|
|
|
TARGET_AR="or1k-linux-ar";
|
|
|
|
}
|