artiq-extras: update newfocus8742, do a simple smoke test

This commit is contained in:
Sebastien Bourdeauducq 2019-04-19 22:11:59 +08:00
parent ba483545c5
commit 88232632f2

View File

@ -45,8 +45,12 @@ in
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "quartiq"; owner = "quartiq";
repo = "newfocus8742"; repo = "newfocus8742";
rev = "8224f69fe16e407a1e0e74d2923eca4ab707a60c"; rev = "2d97eb741f43bd5cb9eec92635101b70ad9c129c";
sha256 = "0hahk2hfc9xxrxkqz8ghkh9b35hppdxdlkb55fz9z9s686caki02"; sha256 = "0xzx1p6qn24ckbc8pyxzq8wxn64pvrbwm2l94mblij6dblksdgmv";
};
pythonOptions = {
propagatedBuildInputs = [ artiq ];
# no unit tests so do a simple smoke test
checkPhase = "python -m newfocus8742.aqctl_newfocus8742 --version";
}; };
pythonOptions = { buildInputs = [ artiq ]; };
}) })