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