Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
839 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildDunePackage,
fetchurl,
ptime,
alcotest,
ohex,
}:
buildDunePackage rec {
minimalOCamlVersion = "4.13.0";
pname = "asn1-combinators";
version = "0.3.2";
src = fetchurl {
url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-${version}.tbz";
hash = "sha256-KyaYX24nIgc9zZ+ENVvWdX4SZDtaSOMLPAf/fPsNin8=";
};
propagatedBuildInputs = [ ptime ];
doCheck = true;
checkInputs = [
alcotest
ohex
];
meta = {
homepage = "https://github.com/mirleft/ocaml-asn1-combinators";
changelog = "https://github.com/mirleft/ocaml-asn1-combinators/blob/v${version}/CHANGES.md";
description = "Combinators for expressing ASN.1 grammars in OCaml";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ vbgl ];
};
}