summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/zmq/default.nix
blob: d454d244959fd8f7d1911db8c6bbe42b332caba4 (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
{ lib, fetchFromGitHub, buildDunePackage, czmq, stdint }:

buildDunePackage rec {
  minimumOCamlVersion = "4.03";
  pname = "zmq";
  version = "20180726";
  src = fetchFromGitHub {
    owner = "issuu";
    repo = "ocaml-zmq";
    rev = "d312a8458d6b688f75470248f11875fbbfa5bb1a";
    sha256 = "1f5l4bw78y4drabhyvmpj3z8k30bill33ca7bzhr02m55yf6gqpf";
  };

  buildInputs = [ czmq ];

  propagatedBuildInputs = [ stdint ];

  meta = {
    description = "ZeroMQ bindings for OCaml";
    license     = lib.licenses.mit;
    maintainers = with lib.maintainers; [ akavel ];
    inherit (src.meta) homepage;
  };
}