obelisk: init at 0.2.0
Obelisk is a simple tool which produces pretty-printed output from a Menhir parser file (.mly). Homepage: https://github.com/Lelio-Brun/Obelisk
This commit is contained in:
parent
83d14b7b50
commit
ef7f980954
24
pkgs/development/tools/ocaml/obelisk/default.nix
Normal file
24
pkgs/development/tools/ocaml/obelisk/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchFromGitHub, ocamlPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "obelisk-${version}";
|
||||
version = "0.2.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Lelio-Brun";
|
||||
repo = "Obelisk";
|
||||
rev = "v${version}";
|
||||
sha256 = "0qkxnv25rmqj7qhnw1fav88kr73ax9fjbzvkrwximz5477gjxx3p";
|
||||
};
|
||||
|
||||
buildInputs = with ocamlPackages; [ ocaml findlib ocamlbuild menhir ];
|
||||
|
||||
installFlags = [ "BINDIR=$(out)/bin" ];
|
||||
|
||||
meta = {
|
||||
description = "A simple tool which produces pretty-printed output from a Menhir parser file (.mly)";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (ocamlPackages.ocaml.meta) platforms;
|
||||
};
|
||||
}
|
@ -7113,6 +7113,10 @@ with pkgs;
|
||||
noweb = callPackage ../development/tools/literate-programming/noweb { };
|
||||
nuweb = callPackage ../development/tools/literate-programming/nuweb { tex = texlive.combined.scheme-small; };
|
||||
|
||||
obelisk = callPackage ../development/tools/ocaml/obelisk {
|
||||
ocamlPackages = ocaml-ng.ocamlPackages_4_03;
|
||||
};
|
||||
|
||||
obuild = callPackage ../development/tools/ocaml/obuild { };
|
||||
|
||||
omake = callPackage ../development/tools/ocaml/omake {
|
||||
|
Loading…
Reference in New Issue
Block a user