2020-04-14 21:00:03 +02:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
|
|
|
, cstruct, zarith, bigarray-compat, stdlib-shims, ptime, alcotest
|
2018-01-15 05:01:50 +01:00
|
|
|
}:
|
|
|
|
|
2020-04-14 21:00:03 +02:00
|
|
|
buildDunePackage rec {
|
2022-03-30 17:44:30 +02:00
|
|
|
minimalOCamlVersion = "4.08";
|
2015-02-26 08:33:43 +01:00
|
|
|
|
2020-04-14 21:00:03 +02:00
|
|
|
pname = "asn1-combinators";
|
2022-03-21 06:12:43 +01:00
|
|
|
version = "0.2.6";
|
2015-02-26 08:33:43 +01:00
|
|
|
|
2020-04-14 21:00:03 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-v${version}.tbz";
|
2022-03-21 06:12:43 +01:00
|
|
|
sha256 = "sha256-ASreDYhp72IQY3UsHPjqAm9rxwL+0Q35r1ZojikbGpE=";
|
2015-02-26 08:33:43 +01:00
|
|
|
};
|
|
|
|
|
2020-04-14 21:00:03 +02:00
|
|
|
propagatedBuildInputs = [ cstruct zarith bigarray-compat stdlib-shims ptime ];
|
2016-11-13 11:42:42 +01:00
|
|
|
|
2015-06-02 11:54:54 +02:00
|
|
|
doCheck = true;
|
2020-04-14 21:00:03 +02:00
|
|
|
checkInputs = [ alcotest ];
|
2015-06-02 11:54:54 +02:00
|
|
|
|
2020-04-14 21:00:03 +02:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/mirleft/ocaml-asn1-combinators";
|
2015-02-26 08:33:43 +01:00
|
|
|
description = "Combinators for expressing ASN.1 grammars in OCaml";
|
2020-04-14 21:00:03 +02:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
2015-02-26 08:33:43 +01:00
|
|
|
};
|
|
|
|
}
|