-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ae9b50
commit d738ac4
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters