diff --git a/artiq-full/extras.nix b/artiq-full/extras.nix index b1ea90b..677b87d 100644 --- a/artiq-full/extras.nix +++ b/artiq-full/extras.nix @@ -245,4 +245,27 @@ in ''; }; condaOptions = { dependencies = [ "flake8" ]; }; + }) // (dualPackage { + name = "dax"; + version = "6.3"; + withManual = false; + src = pkgs.fetchgit { + url = "https://gitlab.com/duke-artiq/dax.git"; + rev = "v${version}"; + sha256 = "1agxyx2rxylrwc3zyz2czdbfv2sxrx5mrwahm0n7gnn87f32h36v"; + }; + pythonOptions = { + VERSIONEER_OVERRIDE = version; + inherit (pkgs.python3Packages.pygit2) SSL_CERT_FILE; + propagatedBuildInputs = [ artiq sipyco ] + ++ (with pkgs.python3Packages; [ numpy scipy pyvcd natsort pygit2 matplotlib graphviz h5py networkx ]); + checkInputs = [ pkgs.python3Packages.pytest pkgs.python3Packages.mypy pkgs.python3Packages.flake8 ]; + checkPhase = + '' + pytest + mypy + flake8 + ''; + }; + condaOptions = { dependencies = [ "python>=3.7" "artiq" "sipyco" "numpy" "scipy" "pyvcd" "natsort" "pygit2" "matplotlib" "python-graphviz" "h5py" "networkx" ]; }; })