Browse Source

nmigen-boards: add

pull/1/head
parent
commit
92671d534c
  1. 1
      default.nix
  2. 21
      eda/nmigen-boards.nix

1
default.nix

@ -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

@ -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…
Cancel
Save