diff options
Diffstat (limited to 'pkgs/hdl-convertor/ast.nix')
| -rw-r--r-- | pkgs/hdl-convertor/ast.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/hdl-convertor/ast.nix b/pkgs/hdl-convertor/ast.nix new file mode 100644 index 0000000..d6f833b --- /dev/null +++ b/pkgs/hdl-convertor/ast.nix @@ -0,0 +1,22 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, +}: +buildPythonPackage { + pname = "hdl-convertor-ast"; + version = "master-2022-07-25"; + + src = fetchFromGitHub { + repo = "hdlConvertorAst"; + owner = "Nic30"; + + rev = "d2670f0374bd7a303a4bd8ce60da7206c45e8ac3"; + sha256 = "sha256-u0lBzltM/6l3EuW0ppAVAGWhU7QEx0Cx6mTgaZKdHkg="; + }; + + patches = [ + ./0001-to.verilog-fix-always_ff-sensitivity-list.patch + ./0002-to.hdl_ast_-visit-sensitivity-lists.patch + ]; +} |
