1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/development/ocaml-modules/angstrom/default.nix

27 lines
719 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, buildDunePackage, alcotest, result, bigstringaf }:
2018-02-22 17:30:56 +00:00
buildDunePackage rec {
pname = "angstrom";
version = "0.10.0";
minimumOCamlVersion = "4.03";
2017-02-17 22:18:48 +00:00
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = pname;
rev = version;
sha256 = "0lh6024yf9ds0nh9i93r9m6p5psi8nvrqxl5x7jwl13zb0r9xfpw";
2017-02-17 22:18:48 +00:00
};
buildInputs = [ alcotest ];
propagatedBuildInputs = [ bigstringaf result ];
2018-02-22 17:30:56 +00:00
doCheck = true;
2017-02-17 22:18:48 +00:00
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 ];
};
}