Unverified Commit b6a35ab9 authored by Mutsuha Asada's avatar Mutsuha Asada Committed by GitHub
Browse files
parent d6a640c0
Loading
Loading
Loading
Loading
+12 −7
Original line number Diff line number Diff line
@@ -4,28 +4,33 @@
  fetchurl,
  ptime,
  alcotest,
  ohex,
}:

buildDunePackage rec {
  minimalOCamlVersion = "4.08";
  minimalOCamlVersion = "4.13.0";

  pname = "asn1-combinators";
  version = "0.3.1";
  version = "0.3.2";

  src = fetchurl {
    url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-${version}.tbz";
    hash = "sha256-+imExupuHhxP4gM/AWWvYRljwkAM4roFEAS3ffxVfE4=";
    hash = "sha256-KyaYX24nIgc9zZ+ENVvWdX4SZDtaSOMLPAf/fPsNin8=";
  };

  propagatedBuildInputs = [ ptime ];

  doCheck = true;
  checkInputs = [ alcotest ];
  checkInputs = [
    alcotest
    ohex
  ];

  meta = with lib; {
  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 = licenses.isc;
    maintainers = with maintainers; [ vbgl ];
    license = lib.licenses.isc;
    maintainers = with lib.maintainers; [ vbgl ];
  };
}