summary refs log tree commit diff
path: root/pkgs/applications/science/misc/openmodelica/omparser/default.nix
blob: fcf5acd29ee973c366b138bf732e7bc4436debfe (plain) (blame)
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
{ lib
, pkg-config
, jre8
, libuuid
, openmodelica
, mkOpenModelicaDerivation
}:

mkOpenModelicaDerivation rec {
  pname = "omparser";
  omdir = "OMParser";
  omdeps = [ openmodelica.omcompiler ];

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ jre8 libuuid ];

  patches = [ ./Makefile.in.patch ];

  meta = with lib; {
    description = "An antlr4-based parser of Modelica files from OpenModelica
suite";
    homepage = "https://openmodelica.org";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ smironov ];
    platforms = platforms.linux;
  };
}