conda: build asyncserial

This commit is contained in:
Sebastien Bourdeauducq 2020-06-09 16:08:14 +08:00
parent 68078d38d8
commit 37e70bbda1
2 changed files with 9 additions and 0 deletions

View File

@ -56,6 +56,14 @@ let
inherit (openocd) bscan_spi_bitstreams; inherit (openocd) bscan_spi_bitstreams;
}; };
conda-artiq = import ./conda/artiq.nix { inherit pkgs; }; conda-artiq = import ./conda/artiq.nix { inherit pkgs; };
conda-asyncserial = import ./conda/build.nix { inherit pkgs; } {
name = "conda-asyncserial";
src = import ./conda/fake-source.nix { inherit pkgs; } {
name = "asyncserial";
inherit (pythonDeps.asyncserial) version src;
dependencies = ["pyserial"];
};
};
}; };
in in
mainPackages // boardPackages mainPackages // boardPackages

View File

@ -16,6 +16,7 @@ rec {
asyncserial = python3Packages.buildPythonPackage rec { asyncserial = python3Packages.buildPythonPackage rec {
name = "asyncserial"; name = "asyncserial";
version = "0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "m-labs"; owner = "m-labs";
repo = "asyncserial"; repo = "asyncserial";