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