at master 36 lines 839 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 ptime, 6 alcotest, 7 ohex, 8}: 9 10buildDunePackage rec { 11 minimalOCamlVersion = "4.13.0"; 12 13 pname = "asn1-combinators"; 14 version = "0.3.2"; 15 16 src = fetchurl { 17 url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-${version}.tbz"; 18 hash = "sha256-KyaYX24nIgc9zZ+ENVvWdX4SZDtaSOMLPAf/fPsNin8="; 19 }; 20 21 propagatedBuildInputs = [ ptime ]; 22 23 doCheck = true; 24 checkInputs = [ 25 alcotest 26 ohex 27 ]; 28 29 meta = { 30 homepage = "https://github.com/mirleft/ocaml-asn1-combinators"; 31 changelog = "https://github.com/mirleft/ocaml-asn1-combinators/blob/v${version}/CHANGES.md"; 32 description = "Combinators for expressing ASN.1 grammars in OCaml"; 33 license = lib.licenses.isc; 34 maintainers = with lib.maintainers; [ vbgl ]; 35 }; 36}