summaryrefslogtreecommitdiff
path: root/pkgs/hdl-convertor/ast.nix
blob: 52bd6562c4c3dbd5493b6ba20d87c7c88e96c910 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
  ];
}