From a162c7a65e261c86b1f8c8050eb70a5260583b8c Mon Sep 17 00:00:00 2001 From: Leon Riesebos Date: Sun, 6 Jun 2021 18:48:39 +0200 Subject: [PATCH] extras: added dax package --- artiq-full/extras.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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" ]; }; })