2020-06-09 14:30:23 +08:00
|
|
|
{ pkgs }:
|
|
|
|
|
|
|
|
let
|
|
|
|
version = import ../pkgs/artiq-version.nix (with pkgs; { inherit stdenv fetchgit git; });
|
|
|
|
fakeCondaSource = import ./fake-source.nix { inherit pkgs; } {
|
|
|
|
name = "artiq";
|
|
|
|
inherit version;
|
|
|
|
src = import ../pkgs/artiq-src.nix { fetchgit = pkgs.fetchgit; };
|
2020-12-12 21:58:04 +08:00
|
|
|
dependencies = [
|
|
|
|
"pythonparser"
|
|
|
|
"scipy"
|
|
|
|
"numpy"
|
|
|
|
"prettytable"
|
|
|
|
"h5py"
|
|
|
|
"python-dateutil"
|
|
|
|
"pyqt"
|
|
|
|
(if (pkgs.lib.strings.versionAtLeast version "6.0") then "qasync" else "quamash")
|
|
|
|
"pyqtgraph"
|
|
|
|
"pygit2"
|
|
|
|
"python-levenshtein"
|
|
|
|
"sipyco"
|
2021-09-13 07:48:28 +08:00
|
|
|
] ++ (if (pkgs.lib.strings.versionAtLeast version "7.0") then ["llvmlite" "llvm-tools" "lld"] else ["llvmlite-artiq" "binutils-or1k-linux"]);
|
2020-06-09 14:30:23 +08:00
|
|
|
extraYaml =
|
|
|
|
''
|
|
|
|
about:
|
|
|
|
home: https://m-labs.hk/artiq
|
|
|
|
license: LGPL
|
|
|
|
summary: 'A leading-edge control system for quantum information experiments'
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
conda-artiq = import ./build.nix { inherit pkgs; } {
|
|
|
|
name = "conda-artiq";
|
|
|
|
src = fakeCondaSource;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
conda-artiq
|