nmigen: purgred nmigen nix config

This commit is contained in:
occheung 2020-08-12 12:45:19 +08:00
parent 765cd1d513
commit b2d605551a
2 changed files with 0 additions and 47 deletions

View File

@ -1,23 +0,0 @@
{ stdenv, fetchgit, python3Packages, nmigen, git }:
python3Packages.buildPythonPackage {
name = "nmigen-boards";
version = "2019-10-13";
src = fetchgit {
url = "https://github.com/m-labs/nmigen-boards";
rev = "bc074915d6c67a33447d4730b720b37e3ea4bb3f";
sha256 = "1qp32783p0bg6fxfj0wd7fd3if8az7w1r521wcbznxakdrqhrqjd";
leaveDotGit = true;
};
nativeBuildInputs = [ python3Packages.setuptools_scm git ];
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 ];
};
}

View File

@ -1,24 +0,0 @@
{ stdenv, python3Packages, yosys, symbiyosys, yices, git }:
python3Packages.buildPythonPackage rec {
pname = "nmigen";
version = "0.1";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "1fhichp1flyj4f6n8dmmsj011yjibdkdikl45v7izcqfycmaqm8v";
};
checkInputs = [ yosys symbiyosys yices ];
checkPhase = "python -m unittest discover nmigen.test -v";
nativeBuildInputs = [ python3Packages.setuptools_scm git ];
propagatedBuildInputs = [ python3Packages.bitarray python3Packages.pyvcd python3Packages.jinja2 python3Packages.setuptools ];
meta = with stdenv.lib; {
description = "A refreshed Python toolbox for building complex digital hardware";
homepage = "https://m-labs.hk";
license = licenses.bsd2;
maintainers = [ maintainers.sb0 ];
};
}