forked from M-Labs/nix-scripts
extras: added dax-applets package
This commit is contained in:
parent
a162c7a65e
commit
a3fd10cef0
|
@ -214,7 +214,7 @@ let
|
||||||
echo file device_db_template \$out/device_db.py >> \$out/nix-support/hydra-build-products
|
echo file device_db_template \$out/device_db.py >> \$out/nix-support/hydra-build-products
|
||||||
";
|
";
|
||||||
})) drtio-systems;
|
})) drtio-systems;
|
||||||
extras = import ./extras.nix { inherit pkgs; inherit (artiq-fast) sipyco asyncserial artiq; };
|
extras = import ./extras.nix { inherit pkgs; inherit (artiq-fast) sipyco asyncserial pyqtgraph-qt5 artiq; };
|
||||||
in
|
in
|
||||||
artiq-fast // artiq-targets // drtio-ddbs // extras // rec {
|
artiq-fast // artiq-targets // drtio-ddbs // extras // rec {
|
||||||
conda-artiq-board-kasli-tester = conda-artiq-board {
|
conda-artiq-board-kasli-tester = conda-artiq-board {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, sipyco, asyncserial, artiq }:
|
{ pkgs, sipyco, asyncserial, pyqtgraph-qt5, artiq }:
|
||||||
let
|
let
|
||||||
condaBuild = import ./fast/conda/build.nix { inherit pkgs; };
|
condaBuild = import ./fast/conda/build.nix { inherit pkgs; };
|
||||||
condaFakeSource = import ./fast/conda/fake-source.nix { inherit pkgs; };
|
condaFakeSource = import ./fast/conda/fake-source.nix { inherit pkgs; };
|
||||||
|
@ -268,4 +268,24 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
condaOptions = { dependencies = [ "python>=3.7" "artiq" "sipyco" "numpy" "scipy" "pyvcd" "natsort" "pygit2" "matplotlib" "python-graphviz" "h5py" "networkx" ]; };
|
condaOptions = { dependencies = [ "python>=3.7" "artiq" "sipyco" "numpy" "scipy" "pyvcd" "natsort" "pygit2" "matplotlib" "python-graphviz" "h5py" "networkx" ]; };
|
||||||
|
}) // (dualPackage {
|
||||||
|
name = "dax-applets";
|
||||||
|
version = "0.0.0";
|
||||||
|
withManual = false;
|
||||||
|
src = pkgs.fetchgit {
|
||||||
|
url = "https://gitlab.com/duke-artiq/dax-applets.git";
|
||||||
|
rev = "e25f0c83ef246d2913cbd97379b67ac02896745b";
|
||||||
|
sha256 = "0d0fkw27bhd0hky512km6iiiagwkdzw4vxgcd4cjq08nmh72jxv1";
|
||||||
|
};
|
||||||
|
pythonOptions = {
|
||||||
|
propagatedBuildInputs = [ artiq pyqtgraph-qt5 ];
|
||||||
|
++ (with pkgs.python3Packages; [ numpy pyqt5 ]);
|
||||||
|
checkInputs = [ pkgs.python3Packages.mypy pkgs.python3Packages.flake8 ];
|
||||||
|
checkPhase =
|
||||||
|
''
|
||||||
|
mypy
|
||||||
|
flake8
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
condaOptions = { dependencies = [ "python>=3.5" "artiq" "numpy" "pyqt" "pyqtgraph" ]; };
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue