windows tests: update *, install full dependency list in install.nix

This commit is contained in:
Astro 2019-04-13 20:20:28 +02:00 committed by Sébastien Bourdeauducq
parent a0aa821dea
commit 2afaa9ddd3
1 changed files with 25 additions and 1 deletions

View File

@ -45,6 +45,28 @@ let
"${src}" "${sshUser}@localhost:${target}"
'';
condaEnv = "artiq-env";
condaDependencies = [
"python >=3.5.3,<3.6"
"llvmlite-artiq 0.23.0.dev py35_5"
"binutils-or1k-linux >=2.27"
"pythonparser >=1.1"
"openocd 0.10.0 6"
"scipy"
"numpy"
"prettytable"
"asyncserial"
"h5py 2.8"
"python-dateutil"
"pyqt >=5.5"
"quamash"
"pyqtgraph 0.10.0"
"pygit2"
"aiohttp >=3"
"levenshtein"
];
condaPkgSpecs =
builtins.concatStringsSep " "
(map (s: "\"${s}\"") condaDependencies);
in
stdenv.mkDerivation {
name = "windows-installer";
@ -102,8 +124,10 @@ stdenv.mkDerivation {
${ssh "miniconda\\Scripts\\conda config --add channels conda-forge"}
${ssh "miniconda\\Scripts\\conda config --add channels m-labs"}
${ssh "miniconda\\Scripts\\conda update -y conda"}
${ssh "miniconda\\Scripts\\conda update -y --all"}
${ssh "miniconda\\Scripts\\conda create -y -n ${condaEnv}"}
${ssh "miniconda\\Scripts\\conda install -y -n ${condaEnv} numpy scipy python-dateutil h5py pythonparser levenshtein outputcheck llvmlite-artiq asyncserial"}
${ssh "miniconda\\Scripts\\conda install -y -n ${condaEnv} ${condaPkgSpecs}"}
${ssh "shutdown /p /f"}
echo "Waiting for qemu exit"