From ea9bc0440753ac22e5d42754b4b54d15ca3a4e20 Mon Sep 17 00:00:00 2001 From: Harry Ho Date: Thu, 7 Oct 2021 17:20:44 +0800 Subject: [PATCH] flake: add jesd204b --- flake.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index e4343766d..0aa09d2b0 100644 --- a/flake.nix +++ b/flake.nix @@ -181,6 +181,18 @@ propagatedBuildInputs = with pkgs.python3Packages; [ jinja2 numpy migen pyserial asyncserial ]; }; + jesd204b = pkgs.python3Packages.buildPythonPackage rec { + pname = "jesd204b"; + version = "unstable-2021-05-05"; + src = pkgs.fetchFromGitHub { + owner = "m-labs"; + repo = "jesd204b"; + rev = "bf1cd9014c8b7a9db67609f653634daaf3bcd39b"; + sha256 = "sha256-wyYOCRIPANReeCl+KaIpiAStsn2mzfMlK+cSrUzVrAw="; + }; + propagatedBuildInputs = with pkgs.python3Packages; [ migen misoc ]; + }; + cargo-xbuild = rustPlatform.buildRustPackage rec { pname = "cargo-xbuild"; version = "0.6.5"; @@ -333,7 +345,7 @@ devShell.x86_64-linux = pkgs.mkShell { name = "artiq-dev-shell"; buildInputs = [ - (pkgs.python3.withPackages(ps: with packages.x86_64-linux; [ migen misoc artiq ps.paramiko ps.jsonschema ])) + (pkgs.python3.withPackages(ps: with packages.x86_64-linux; [ migen misoc jesd204b artiq ps.paramiko ps.jsonschema ])) rustPlatform.rust.rustc rustPlatform.rust.cargo cargo-xbuild