ocamlPackages.kafka: 0.4 → 0.5
This commit is contained in:
parent
7467ba0b1d
commit
3c34795935
|
@ -1,26 +1,24 @@
|
||||||
{ lib, fetchFromGitHub, buildDunePackage, base, cmdliner, ocaml_lwt,
|
{ lib, fetchurl, buildDunePackage
|
||||||
rdkafka, zlib }:
|
, rdkafka, zlib }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "kafka";
|
pname = "kafka";
|
||||||
version = "0.4";
|
version = "0.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
useDune2 = true;
|
||||||
owner = "didier-wenzek";
|
|
||||||
repo = "ocaml-kafka";
|
src = fetchurl {
|
||||||
rev = version;
|
url = "https://github.com/didier-wenzek/ocaml-kafka/releases/download/${version}/kafka-${version}.tbz";
|
||||||
sha256 = "0lb8x0wh7sf8v9mjwhq32azjz54kw49fsjfb7m76z4nhxfkjw5hy";
|
sha256 = "0m9212yap0a00hd0f61i4y4fna3141p77qj3mm7jl1h4q60jdhvy";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ base cmdliner ocaml_lwt zlib ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ rdkafka zlib ];
|
propagatedBuildInputs = [ rdkafka zlib ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/didier-wenzek/ocaml-kafka";
|
homepage = "https://github.com/didier-wenzek/ocaml-kafka";
|
||||||
description = "OCaml bindings for Kafka";
|
description = "OCaml bindings for Kafka";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.rixed ];
|
maintainers = [ maintainers.vbgl ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ buildDunePackage
|
||||||
|
, kafka
|
||||||
|
, lwt
|
||||||
|
, cmdliner
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "kafka_lwt";
|
||||||
|
|
||||||
|
inherit (kafka) version useDune2 src;
|
||||||
|
|
||||||
|
buildInputs = [ cmdliner ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ kafka lwt ];
|
||||||
|
|
||||||
|
meta = kafka.meta // {
|
||||||
|
description = "OCaml bindings for Kafka, Lwt bindings";
|
||||||
|
};
|
||||||
|
}
|
|
@ -506,6 +506,8 @@ let
|
||||||
|
|
||||||
kafka = callPackage ../development/ocaml-modules/kafka { };
|
kafka = callPackage ../development/ocaml-modules/kafka { };
|
||||||
|
|
||||||
|
kafka_lwt = callPackage ../development/ocaml-modules/kafka/lwt.nix { };
|
||||||
|
|
||||||
ke = callPackage ../development/ocaml-modules/ke { };
|
ke = callPackage ../development/ocaml-modules/ke { };
|
||||||
|
|
||||||
lablgl = callPackage ../development/ocaml-modules/lablgl { };
|
lablgl = callPackage ../development/ocaml-modules/lablgl { };
|
||||||
|
|
Loading…
Reference in New Issue