forked from M-Labs/nix-scripts
extras: added dax package
This commit is contained in:
parent
fb0c412bb0
commit
a162c7a65e
@ -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" ]; };
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user