about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/msgpck/default.nix
blob: 2871e774f3fe2e2431c48e4d169293eb82ceb339 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 ];
  };
}