nix-scripts/artiq-full/example-user-env.nix

38 lines
940 B
Nix
Raw Normal View History

2021-01-15 17:23:19 +08:00
{ pkgs, artiq-full }:
2021-01-15 17:48:59 +08:00
let
matplotlib-qt = (pkgs.python3Packages.matplotlib.override { enableQt = true; });
in
2021-01-15 17:23:19 +08:00
{
artiq-example-user-env = pkgs.runCommand "artiq-example-user-env" {
buildInputs = [
(pkgs.python3.withPackages(ps: [
artiq-full.artiq
artiq-full.artiq-comtools
artiq-full.wand
2021-01-18 15:20:42 +08:00
artiq-full.flake8-artiq
2021-01-15 17:23:19 +08:00
artiq-full.lda
artiq-full.korad_ka3005p
artiq-full.novatech409b
artiq-full.thorlabs_tcube
artiq-full.artiq-board-kc705-nist_clock
artiq-full.artiq-board-kasli-nist2
ps.paramiko
ps.pandas
ps.numpy
ps.scipy
ps.numba
ps.bokeh
2021-01-15 17:48:59 +08:00
matplotlib-qt
(ps.cirq.override { matplotlib = matplotlib-qt; })
# qiskit does not work with matplotlib-qt
#ps.qiskit
2021-01-15 17:23:19 +08:00
]))
artiq-full.openocd
pkgs.gtkwave
pkgs.spyder
pkgs.R
];
} "touch $out";
}