artiq-extras: add novatech409b

pull/16/head
Sebastien Bourdeauducq 2019-04-19 21:55:57 +08:00
parent 6be45f18b0
commit 216a04bed2
1 changed files with 12 additions and 1 deletions

View File

@ -9,7 +9,7 @@ let
inherit src; inherit src;
} // pythonOptions); } // pythonOptions);
"conda-${name}" = import ./conda-build.nix { inherit pkgs; } { "conda-${name}" = import ./conda-build.nix { inherit pkgs; } {
name = "conda-korad_ka3005p"; name = "conda-${name}";
src = import ./conda-fake-source.nix { inherit pkgs; } ({ src = import ./conda-fake-source.nix { inherit pkgs; } ({
inherit name version src; inherit name version src;
} // condaOptions); } // condaOptions);
@ -28,4 +28,15 @@ in
}; };
pythonOptions = { buildInputs = [ asyncserial artiq ]; }; pythonOptions = { buildInputs = [ asyncserial artiq ]; };
condaOptions = { dependencies = [ "asyncserial" ]; }; condaOptions = { dependencies = [ "asyncserial" ]; };
}) // (dualPackage {
name = "novatech409b";
version = "1.0";
src = pkgs.fetchFromGitHub {
owner = "m-labs";
repo = "novatech409b";
rev = "c95c52ea3fdcc8459d84bd72bb54c3dc77883968";
sha256 = "1lkdf1wwngwpmm4byaz1jbjpc9gnq3q8ig6hq305dn73cja99zn9";
};
pythonOptions = { buildInputs = [ asyncserial artiq ]; };
condaOptions = { dependencies = [ "asyncserial" ]; };
}) })