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

39 lines
1.1 KiB
Nix
Raw Permalink 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
ps.paramiko
ps.pandas
ps.numpy
ps.scipy
2021-09-12 20:38:46 +08:00
# our newer llvmlite conflicts with the one in nixpkgs (21.05), reenable after nixpkgs updates llvmlite
#ps.numba
2021-01-15 17:23:19 +08:00
ps.bokeh
2021-01-15 17:48:59 +08:00
matplotlib-qt
2021-02-26 11:40:46 +08:00
# cirq is broken and doesn't build (as of 20.09.3281.06b11191834)
#(ps.cirq.override { matplotlib = matplotlib-qt; })
2021-01-15 17:48:59 +08:00
# qiskit does not work with matplotlib-qt
#ps.qiskit
2021-01-15 17:23:19 +08:00
]))
artiq-full.openocd
pkgs.gtkwave
2021-09-12 20:38:46 +08:00
pkgs.spyder
2021-01-15 17:23:19 +08:00
pkgs.R
];
} "touch $out";
}