Mutsuha Asada 2025-01-16 17:09:31 +09:00 committed by GitHub
parent d6a640c0d7
commit b6a35ab9da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,28 +4,33 @@
fetchurl, fetchurl,
ptime, ptime,
alcotest, alcotest,
ohex,
}: }:
buildDunePackage rec { buildDunePackage rec {
minimalOCamlVersion = "4.08"; minimalOCamlVersion = "4.13.0";
pname = "asn1-combinators"; pname = "asn1-combinators";
version = "0.3.1"; version = "0.3.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-${version}.tbz"; 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 ]; propagatedBuildInputs = [ ptime ];
doCheck = true; doCheck = true;
checkInputs = [ alcotest ]; checkInputs = [
alcotest
ohex
];
meta = with lib; { meta = {
homepage = "https://github.com/mirleft/ocaml-asn1-combinators"; 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"; description = "Combinators for expressing ASN.1 grammars in OCaml";
license = licenses.isc; license = lib.licenses.isc;
maintainers = with maintainers; [ vbgl ]; maintainers = with lib.maintainers; [ vbgl ];
}; };
} }