From 07bf05a7869c88c27912833c1db942f8fc849f4d Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 11 Jun 2023 20:12:29 -0600 Subject: pkgs: add existing derivations written for other projects --- pkgs/hdl-convertor/ast.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkgs/hdl-convertor/ast.nix (limited to 'pkgs/hdl-convertor/ast.nix') 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 + ]; +} -- cgit v1.2.3