From 089bde63cea100fa986cc959001f2cfd1d9c67a8 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 23 Apr 2019 00:01:37 +0800 Subject: [PATCH] artiq-extras: add highfinesse-net --- artiq/artiq-extras.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/artiq/artiq-extras.nix b/artiq/artiq-extras.nix index f296fec..a8426c6 100644 --- a/artiq/artiq-extras.nix +++ b/artiq/artiq-extras.nix @@ -134,4 +134,18 @@ in ''; propagatedBuildInputs = [ toptica-lasersdk artiq ]; }; - } + } // (dualPackage { + name = "highfinesse-net"; + version = "0.1"; + src = pkgs.fetchFromGitHub { + owner = "quartiq"; + repo = "highfinesse-net"; + rev = "6864ae5da5cbc67953b968010115db951e52a272"; + sha256 = "1k8xacgam5xghxvljvdzpsdhhq86fra13hkvdy7y301s9nyp30s4"; + }; + pythonOptions = { + propagatedBuildInputs = [ artiq ]; + # no unit tests without hardware so do a simple smoke test + checkPhase = "python -m highfinesse_net.aqctl_highfinesse_net --version"; + }; + })