Skip to content

Commit d738ac4

Browse files
sternenseemannvbgl
authored andcommittedFeb 19, 2017
ocaml-angstrom: init at 0.3.0
1 parent 1ae9b50 commit d738ac4

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{ stdenv, fetchFromGitHub, ocaml, cstruct, result, findlib, ocaml_oasis }:
2+
3+
stdenv.mkDerivation rec {
4+
version = "0.3.0";
5+
name = "ocaml-angstrom-${version}";
6+
7+
src = fetchFromGitHub {
8+
owner = "inhabitedtype";
9+
repo = "angstrom";
10+
rev = "${version}";
11+
sha256 = "1x9pvy5vw98ns4pspj7i10pmgqyngn4v4cdlz5pbvwbrpwpn090q";
12+
};
13+
14+
createFindlibDestdir = true;
15+
16+
buildInputs = [ ocaml ocaml_oasis findlib ];
17+
propagatedBuildInputs = [ result cstruct ];
18+
19+
meta = {
20+
homepage = https://github.com/inhabitedtype/angstrom;
21+
description = "OCaml parser combinators built for speed and memory efficiency";
22+
license = stdenv.lib.licenses.bsd3;
23+
maintainers = with stdenv.lib.maintainers; [ sternenseemann ];
24+
inherit (ocaml.meta) platforms;
25+
};
26+
}

‎pkgs/top-level/ocaml-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ let
1818

1919
alcotest = callPackage ../development/ocaml-modules/alcotest {};
2020

21+
angstrom = callPackage ../development/ocaml-modules/angstrom { };
22+
2123
ansiterminal = callPackage ../development/ocaml-modules/ansiterminal { };
2224

2325
apron = callPackage ../development/ocaml-modules/apron { };

0 commit comments

Comments
 (0)
Please sign in to comment.