forked from mirrors/nixpkgs
27 lines
719 B
Nix
27 lines
719 B
Nix
{ stdenv, fetchFromGitHub, buildDunePackage, alcotest, result, bigstringaf }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "angstrom";
|
|
version = "0.10.0";
|
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "inhabitedtype";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0lh6024yf9ds0nh9i93r9m6p5psi8nvrqxl5x7jwl13zb0r9xfpw";
|
|
};
|
|
|
|
buildInputs = [ alcotest ];
|
|
propagatedBuildInputs = [ bigstringaf result ];
|
|
doCheck = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|