ocamlPackages.msgpck: init at 1.7

This commit is contained in:
Ulrik Strid 2023-09-29 09:51:33 +02:00
parent e937f7ded6
commit f1e7c63477
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, fetchFromGitHub
, buildDunePackage
, ocplib-endian
, alcotest
}:
buildDunePackage rec {
pname = "msgpck";
version = "1.7";
src = fetchFromGitHub {
owner = "vbmithr";
repo = "ocaml-msgpck";
rev = "${version}";
hash = "sha256-gBHIiicmk/5KBkKzRKyV0ymEH8dGCZG8vfE0mtpcDCM=";
};
propagatedBuildInputs = [ ocplib-endian ];
checkInputs = [ alcotest ];
doCheck = true;
meta = {
description = "Fast MessagePack (http://msgpack.org) library ";
license = lib.licenses.isc;
homepage = "https://github.com/vbmithr/ocaml-msgpck";
maintainers = [ lib.maintainers.ulrikstrid ];
};
}

View file

@ -1158,6 +1158,8 @@ let
mparser-pcre = callPackage ../development/ocaml-modules/mparser/pcre.nix { };
msgpck = callPackage ../development/ocaml-modules/msgpck { };
mrmime = callPackage ../development/ocaml-modules/mrmime { };
mtime_1 = callPackage ../development/ocaml-modules/mtime/1_x.nix { };