mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 19:45:54 +00:00
a89afa13fd
also updates: * ocamlPackages.angstrom-unix * ocamlPackages.angstrom-lwt-unix * ocamlPackages.angstrom-async
27 lines
746 B
Nix
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 ];
|
|
};
|
|
}
|