newfocus8742: add pyusb dependency (nix only)

This commit is contained in:
Sebastien Bourdeauducq 2019-04-22 22:37:26 +08:00
parent 1bc42f810b
commit 42f2434d92

View File

@ -87,7 +87,7 @@ in
sha256 = "1dww0y83d4i6nma1q5hnaagih94c32bxlla5p6a5a8zkc4x2pky9";
};
pythonOptions = {
propagatedBuildInputs = [ artiq ];
propagatedBuildInputs = [ pkgs.python3Packages.pyusb artiq ];
# no unit tests so do a simple smoke test
checkPhase = "python -m newfocus8742.aqctl_newfocus8742 --version";
};