ocamlPackages.zmq: 20180726 → 5.1.5
This commit is contained in:
parent
b177479e03
commit
2575346f00
|
@ -1,17 +1,14 @@
|
||||||
{ lib, fetchFromGitHub, buildDunePackage, dune-configurator, czmq, stdint }:
|
{ lib, fetchurl, buildDunePackage, dune-configurator, czmq, stdint }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
minimumOCamlVersion = "4.03";
|
|
||||||
pname = "zmq";
|
pname = "zmq";
|
||||||
version = "20180726";
|
version = "5.1.5";
|
||||||
|
|
||||||
useDune2 = true;
|
duneVersion = "3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchurl {
|
||||||
owner = "issuu";
|
url = "https://github.com/issuu/ocaml-zmq/releases/download/${version}/zmq-lwt-${version}.tbz";
|
||||||
repo = "ocaml-zmq";
|
sha256 = "sha256-mUfRPatLPFeSzWDwCIoFaVl85VkvDch4i6pOn3Kme1Y=";
|
||||||
rev = "d312a8458d6b688f75470248f11875fbbfa5bb1a";
|
|
||||||
sha256 = "1f5l4bw78y4drabhyvmpj3z8k30bill33ca7bzhr02m55yf6gqpf";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ czmq dune-configurator ];
|
buildInputs = [ czmq dune-configurator ];
|
||||||
|
@ -22,6 +19,6 @@ buildDunePackage rec {
|
||||||
description = "ZeroMQ bindings for OCaml";
|
description = "ZeroMQ bindings for OCaml";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with lib.maintainers; [ akavel ];
|
maintainers = with lib.maintainers; [ akavel ];
|
||||||
inherit (src.meta) homepage;
|
homepage = "https://engineering.issuu.com/ocaml-zmq/";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
buildDunePackage {
|
buildDunePackage {
|
||||||
pname = "zmq-lwt";
|
pname = "zmq-lwt";
|
||||||
inherit (zmq) version src useDune2 meta;
|
inherit (zmq) version src meta;
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
propagatedBuildInputs = [ zmq ocaml_lwt ];
|
propagatedBuildInputs = [ zmq ocaml_lwt ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue