From 52c89a963705b9fe3d1273ea0ea3f569b3614753 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 22 Apr 2019 23:30:29 +0800 Subject: [PATCH] package toptica laser sdk --- artiq/artiq-extras.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/artiq/artiq-extras.nix b/artiq/artiq-extras.nix index b13e568..30e9451 100644 --- a/artiq/artiq-extras.nix +++ b/artiq/artiq-extras.nix @@ -105,4 +105,15 @@ in # no unit tests without hardware so do a simple smoke test checkPhase = "python -m hut2.aqctl_hut2 --version"; }; - }) + }) // { + toptica-lasersdk = pkgs.python3Packages.buildPythonPackage rec { + version = "2.0.0"; + name = "toptica-lasersdk-${version}"; + format = "wheel"; + src = pkgs.fetchurl { + url = "https://files.pythonhosted.org/packages/6b/e2/5c98407215884c2570453a78bc0d6f0bbe619f06593847ccd6a2f1d3fe59/toptica_lasersdk-2.0.0-py3-none-any.whl"; + sha256 = "1k5d9ah8qzp75hh63nh9l5dk808v9ybpmzlhrdc3sxmas3ajv8s7"; + }; + propagatedBuildInputs = [ pkgs.python3Packages.pyserial ]; + }; + }