HeavyX/eda/nmigen-boards.nix

24 lines
684 B
Nix
Raw Normal View History

{ stdenv, fetchgit, python3Packages, nmigen, git }:
2019-06-11 22:53:03 +08:00
python3Packages.buildPythonPackage {
name = "nmigen-boards";
version = "2019-10-13";
2019-06-11 22:53:03 +08:00
src = fetchgit {
url = "https://github.com/m-labs/nmigen-boards";
2019-11-04 09:32:32 +08:00
rev = "bc074915d6c67a33447d4730b720b37e3ea4bb3f";
sha256 = "1qp32783p0bg6fxfj0wd7fd3if8az7w1r521wcbznxakdrqhrqjd";
leaveDotGit = true;
2019-06-11 22:53:03 +08:00
};
nativeBuildInputs = [ python3Packages.setuptools_scm git ];
2019-06-11 22:53:03 +08:00
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 ];
};
}