nmigen-boards: add

This commit is contained in:
Sebastien Bourdeauducq 2019-06-11 22:53:03 +08:00
parent 6d837f4662
commit 92671d534c
2 changed files with 22 additions and 0 deletions

View File

@ -4,6 +4,7 @@ rec {
yosys = pkgs.callPackage ./eda/yosys.nix {}; yosys = pkgs.callPackage ./eda/yosys.nix {};
symbiyosys = pkgs.symbiyosys.override { inherit yosys; }; symbiyosys = pkgs.symbiyosys.override { inherit yosys; };
nmigen = pkgs.callPackage ./eda/nmigen.nix { inherit yosys; }; nmigen = pkgs.callPackage ./eda/nmigen.nix { inherit yosys; };
nmigen-boards = pkgs.callPackage ./eda/nmigen-boards.nix { inherit nmigen; };
scala-spinalhdl = pkgs.callPackage ./eda/scala-spinalhdl.nix {}; scala-spinalhdl = pkgs.callPackage ./eda/scala-spinalhdl.nix {};
jtagtap = pkgs.callPackage ./cores/jtagtap.nix { inherit nmigen; }; jtagtap = pkgs.callPackage ./cores/jtagtap.nix { inherit nmigen; };

21
eda/nmigen-boards.nix Normal file
View File

@ -0,0 +1,21 @@
{ stdenv, fetchFromGitHub, python3Packages, nmigen }:
python3Packages.buildPythonPackage {
name = "nmigen-boards";
src = fetchFromGitHub {
owner = "m-labs";
repo = "nmigen-boards";
rev = "bb52dfb9575c4aabf8e7dd9ddd780bf342ee0a71";
sha256 = "1zmr57nvjz23srgx0yi4lc9rx856rypvi139202qc195almap168";
};
propagatedBuildInputs = [ nmigen ];
meta = with stdenv.lib; {
description = "Board and connector definition files for nMigen";
homepage = "https://m-labs.hk";
license = licenses.bsd2;
maintainers = [ maintainers.sb0 ];
};
}