3
0
Fork 0
forked from mirrors/nixpkgs

ocaml-angstrom: init at 0.3.0

This commit is contained in:
sternenseemann 2017-02-17 23:18:48 +01:00 committed by vbgl
parent 1ae9b50a77
commit d738ac4fd5
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub, ocaml, cstruct, result, findlib, ocaml_oasis }:
stdenv.mkDerivation rec {
version = "0.3.0";
name = "ocaml-angstrom-${version}";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = "angstrom";
rev = "${version}";
sha256 = "1x9pvy5vw98ns4pspj7i10pmgqyngn4v4cdlz5pbvwbrpwpn090q";
};
createFindlibDestdir = true;
buildInputs = [ ocaml ocaml_oasis findlib ];
propagatedBuildInputs = [ result cstruct ];
meta = {
homepage = https://github.com/inhabitedtype/angstrom;
description = "OCaml parser combinators built for speed and memory efficiency";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ sternenseemann ];
inherit (ocaml.meta) platforms;
};
}

View file

@ -18,6 +18,8 @@ let
alcotest = callPackage ../development/ocaml-modules/alcotest {};
angstrom = callPackage ../development/ocaml-modules/angstrom { };
ansiterminal = callPackage ../development/ocaml-modules/ansiterminal { };
apron = callPackage ../development/ocaml-modules/apron { };