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