summaryrefslogtreecommitdiff
path: root/pkgs/hdl-convertor/ast.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-06-11 20:12:29 -0600
committerAlejandro Soto <alejandro@34project.org>2023-06-11 20:12:29 -0600
commit07bf05a7869c88c27912833c1db942f8fc849f4d (patch)
treeb32a11e146884bcee04ef2dd5702b45e89699424 /pkgs/hdl-convertor/ast.nix
parent905a306a705fc7bf9f0d03945bfe692c530dd05e (diff)
pkgs: add existing derivations written for other projects
Diffstat (limited to 'pkgs/hdl-convertor/ast.nix')
-rw-r--r--pkgs/hdl-convertor/ast.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/hdl-convertor/ast.nix b/pkgs/hdl-convertor/ast.nix
new file mode 100644
index 0000000..52bd656
--- /dev/null
+++ b/pkgs/hdl-convertor/ast.nix
@@ -0,0 +1,18 @@
+{ 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
+ ];
+}