1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/ocaml-modules/angstrom/default.nix
sternenseemann a89afa13fd ocamlPackages.angstrom*: 0.12.1 -> 0.13.0
also updates:

* ocamlPackages.angstrom-unix
* ocamlPackages.angstrom-lwt-unix
* ocamlPackages.angstrom-async
2020-04-28 13:40:56 +02:00

27 lines
746 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, result, bigstringaf }:
buildDunePackage rec {
pname = "angstrom";
version = "0.13.0";
minimumOCamlVersion = "4.04";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = pname;
rev = version;
sha256 = "0vzbwd8j34iv7n6gwqq2mf25q7rqpnpxnifb9ssxhq55p5dd1kp4";
};
checkInputs = [ alcotest ];
propagatedBuildInputs = [ bigstringaf result ];
doCheck = lib.versionAtLeast ocaml.version "4.05";
meta = {
homepage = "https://github.com/inhabitedtype/angstrom";
description = "OCaml parser combinators built for speed and memory efficiency";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ sternenseemann ];
};
}