From 96154475bc97424a6e0d68ce337c619335b10cc3 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 22 Apr 2019 22:59:19 +0800 Subject: [PATCH] artiq-extras: add hut2 --- artiq/artiq-extras.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/artiq/artiq-extras.nix b/artiq/artiq-extras.nix index fa9c4a5..b13e568 100644 --- a/artiq/artiq-extras.nix +++ b/artiq/artiq-extras.nix @@ -91,4 +91,18 @@ in # no unit tests so do a simple smoke test checkPhase = "python -m newfocus8742.aqctl_newfocus8742 --version"; }; + }) // (dualPackage { + name = "hut2"; + version = "0.1"; + src = pkgs.fetchFromGitHub { + owner = "quartiq"; + repo = "hut2"; + rev = "acfd62dcd60d37250e2d1b691344c6e65b6e83eb"; + sha256 = "0dpx3c5aclj7gki6iaybjbx9rqrxnwccpxcvjwp594ccbcswvclr"; + }; + pythonOptions = { + propagatedBuildInputs = [ artiq ]; + # no unit tests without hardware so do a simple smoke test + checkPhase = "python -m hut2.aqctl_hut2 --version"; + }; })