27 lines
805 B
Nix
27 lines
805 B
Nix
{ lib, buildDunePackage, fetchurl
|
|
, cstruct, zarith, bigarray-compat, stdlib-shims, ptime, alcotest
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
minimumOCamlVersion = "4.05";
|
|
|
|
pname = "asn1-combinators";
|
|
version = "0.2.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-v${version}.tbz";
|
|
sha256 = "0c9n3nki3drjwn7yv2pg7nzyzsi409laq70830wh147hvvwxbsy9";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cstruct zarith bigarray-compat stdlib-shims ptime ];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ alcotest ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mirleft/ocaml-asn1-combinators";
|
|
description = "Combinators for expressing ASN.1 grammars in OCaml";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ vbgl ];
|
|
};
|
|
}
|