nmigen: 2020-04-02 -> 2021-02-09
Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
parent
6f1319a4d6
commit
6a865bf060
@ -6,6 +6,8 @@
|
|||||||
, setuptools_scm
|
, setuptools_scm
|
||||||
, pyvcd
|
, pyvcd
|
||||||
, jinja2
|
, jinja2
|
||||||
|
, importlib-resources
|
||||||
|
, importlib-metadata
|
||||||
|
|
||||||
# for tests
|
# for tests
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
@ -16,21 +18,27 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nmigen";
|
pname = "nmigen";
|
||||||
version = "unstable-2020-04-02";
|
version = "unstable-2021-02-09";
|
||||||
# python setup.py --version
|
# python setup.py --version
|
||||||
realVersion = "0.2.dev49+g${lib.substring 0 7 src.rev}";
|
realVersion = "0.3.dev243+g${lib.substring 0 7 src.rev}";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nmigen";
|
owner = "nmigen";
|
||||||
repo = "nmigen";
|
repo = "nmigen";
|
||||||
rev = "c79caead33fff14e2dec42b7e21d571a02526876";
|
rev = "f7c2b9419f9de450be76a0e9cf681931295df65f";
|
||||||
sha256 = "sha256-3+mxHyg0a92/BfyePtKT5Hsk+ra+fQzTjCJ2Ech44/s=";
|
sha256 = "0cjs9wgmxa76xqmjhsw4fsb2mhgvd85jgs2mrjxqp6fwp8rlgnl1";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools_scm ];
|
nativeBuildInputs = [ setuptools_scm ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ setuptools pyvcd jinja2 ];
|
propagatedBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
pyvcd
|
||||||
|
jinja2
|
||||||
|
] ++
|
||||||
|
lib.optional (pythonOlder "3.9") importlib-resources ++
|
||||||
|
lib.optional (pythonOlder "3.8") importlib-metadata;
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook yosys symbiyosys yices ];
|
checkInputs = [ pytestCheckHook yosys symbiyosys yices ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user