about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/zmq/default.nix
blob: 267566d7ba0aa62bf80bd5a073d8a8d5443f206d (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, fetchurl, buildDunePackage, dune-configurator, czmq, stdint }:

buildDunePackage rec {
  pname = "zmq";
  version = "5.1.5";

  duneVersion = "3";

  src = fetchurl {
    url = "https://github.com/issuu/ocaml-zmq/releases/download/${version}/zmq-lwt-${version}.tbz";
    sha256 = "sha256-mUfRPatLPFeSzWDwCIoFaVl85VkvDch4i6pOn3Kme1Y=";
  };

  buildInputs = [ czmq dune-configurator ];

  propagatedBuildInputs = [ stdint ];

  meta = {
    description = "ZeroMQ bindings for OCaml";
    license     = lib.licenses.mit;
    maintainers = with lib.maintainers; [ akavel ];
    homepage = "https://engineering.issuu.com/ocaml-zmq/";
  };
}