From 19fd1a8e5000d3467f71255974121fb1028c0bfc Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 20 Apr 2019 00:10:17 +0800 Subject: [PATCH] artiq-extras: add thorlabs_tcube --- artiq/artiq-extras.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/artiq/artiq-extras.nix b/artiq/artiq-extras.nix index 77c5692..001197e 100644 --- a/artiq/artiq-extras.nix +++ b/artiq/artiq-extras.nix @@ -66,6 +66,17 @@ in "hidapi_lib_path = '${hidapi}/lib/libhidapi-libusb.so.0'" ''; }; + }) // (dualPackage { + name = "thorlabs_tcube"; + version = "1.0"; + src = pkgs.fetchFromGitHub { + owner = "m-labs"; + repo = "thorlabs_tcube"; + rev = "350aa142c0843647800b5052a9de7ef66b812898"; + sha256 = "1js9h02pay62vxdpkzsjphnf1p0yzdjky1x8csz7lh5kbyahl9vr"; + }; + pythonOptions = { propagatedBuildInputs = [ asyncserial artiq ]; }; + condaOptions = { dependencies = [ "asyncserial" ]; }; }) // (dualPackage { name = "newfocus8742"; version = "0.1";