nmigen-boards: add
This commit is contained in:
parent
6d837f4662
commit
92671d534c
@ -4,6 +4,7 @@ rec {
|
||||
yosys = pkgs.callPackage ./eda/yosys.nix {};
|
||||
symbiyosys = pkgs.symbiyosys.override { 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 {};
|
||||
|
||||
jtagtap = pkgs.callPackage ./cores/jtagtap.nix { inherit nmigen; };
|
||||
|
21
eda/nmigen-boards.nix
Normal file
21
eda/nmigen-boards.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user