Skip to content

Commit

Permalink
obelisk: init at 0.2.0
Browse files Browse the repository at this point in the history
Obelisk is a simple tool which produces pretty-printed output from a Menhir
parser file (.mly).

Homepage: https://github.com/Lelio-Brun/Obelisk
  • Loading branch information
vbgl committed Aug 4, 2017
1 parent 83d14b7 commit ef7f980
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/tools/ocaml/obelisk/default.nix
@@ -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;
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -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 {
Expand Down

0 comments on commit ef7f980

Please sign in to comment.