nixpkgs/pkgs/development/ocaml-modules/zmq/default.nix
2021-02-12 17:42:29 +01:00

28 lines
665 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, dune-configurator, czmq, stdint }:
buildDunePackage rec {
minimumOCamlVersion = "4.03";
pname = "zmq";
version = "20180726";
useDune2 = true;
src = fetchFromGitHub {
owner = "issuu";
repo = "ocaml-zmq";
rev = "d312a8458d6b688f75470248f11875fbbfa5bb1a";
sha256 = "1f5l4bw78y4drabhyvmpj3z8k30bill33ca7bzhr02m55yf6gqpf";
};
buildInputs = [ czmq dune-configurator ];
propagatedBuildInputs = [ stdint ];
meta = {
description = "ZeroMQ bindings for OCaml";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ akavel ];
inherit (src.meta) homepage;
};
}