blob: 0d1cb1955baf438f315c6eac0893800338c8c96f (
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
|
{ lib, fetchFromGitHub, ocamlPackages, menhir }:
ocamlPackages.buildDunePackage rec {
pname = "obelisk";
version = "0.7.0";
duneVersion = "3";
src = fetchFromGitHub {
owner = "Lelio-Brun";
repo = pname;
rev = "v${version}";
sha256 = "sha256-M/pQvuS8hlpeqd6QBDTHQzqIVFIqGUfj0igVPW2Xwwc=";
};
strictDeps = true;
nativeBuildInputs = [ menhir ];
buildInputs = with ocamlPackages; [ re ];
meta = {
description = "Simple tool which produces pretty-printed output from a Menhir parser file (.mly)";
mainProgram = "obelisk";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
homepage = "https://github.com/Lelio-Brun/Obelisk";
};
}
|