2020-04-14 12:00:03 -07:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
|
|
|
, cstruct, zarith, bigarray-compat, stdlib-shims, ptime, alcotest
|
2018-01-14 20:01:50 -08:00
|
|
|
}:
|
|
|
|
|
2020-04-14 12:00:03 -07:00
|
|
|
buildDunePackage rec {
|
|
|
|
minimumOCamlVersion = "4.05";
|
2015-02-25 23:33:43 -08:00
|
|
|
|
2020-04-14 12:00:03 -07:00
|
|
|
pname = "asn1-combinators";
|
|
|
|
version = "0.2.2";
|
2015-02-25 23:33:43 -08:00
|
|
|
|
2020-04-14 12:00:03 -07:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-v${version}.tbz";
|
|
|
|
sha256 = "0c9n3nki3drjwn7yv2pg7nzyzsi409laq70830wh147hvvwxbsy9";
|
2015-02-25 23:33:43 -08:00
|
|
|
};
|
|
|
|
|
2020-04-14 12:00:03 -07:00
|
|
|
propagatedBuildInputs = [ cstruct zarith bigarray-compat stdlib-shims ptime ];
|
2016-11-13 02:42:42 -08:00
|
|
|
|
2015-06-02 02:54:54 -07:00
|
|
|
doCheck = true;
|
2020-04-14 12:00:03 -07:00
|
|
|
checkInputs = [ alcotest ];
|
2015-06-02 02:54:54 -07:00
|
|
|
|
2020-04-14 12:00:03 -07:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/mirleft/ocaml-asn1-combinators";
|
2015-02-25 23:33:43 -08:00
|
|
|
description = "Combinators for expressing ASN.1 grammars in OCaml";
|
2020-04-14 12:00:03 -07:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
2015-02-25 23:33:43 -08:00
|
|
|
};
|
|
|
|
}
|