summaryrefslogtreecommitdiff
path: root/nix/peakrdl/systemrdl-compiler.nix
blob: 00c92d7482226881d6aa6e55e6c280907d73b22f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ antlr4-python3-runtime
, buildPythonPackage
, colorama
, fetchPypi
, lib
, markdown
}:
let
  pname = "systemrdl-compiler";
  version = "1.27.3";
in
buildPythonPackage {
  inherit pname version;

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-22g1S/8ZTMcjbtaLrGTFu4GpoXtbp7bzezAHilClOj4=";
  };

  propagatedBuildInputs = [
    antlr4-python3-runtime
    colorama
    markdown
  ];

  meta = {
    description = "Parse and elaborate front-end for SystemRDL 2.0";
    changelog = "https://github.com/SystemRDL/${pname}/releases/tag/v${version}";
    homepage = "https://github.com/SystemRDL/${pname}";
    license = lib.licenses.mit;
  };
}