uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
24
pkgs/development/ocaml-modules/kafka/default.nix
Normal file
24
pkgs/development/ocaml-modules/kafka/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, fetchurl, buildDunePackage
|
||||
, rdkafka, zlib }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "kafka";
|
||||
version = "0.5";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/didier-wenzek/ocaml-kafka/releases/download/${version}/kafka-${version}.tbz";
|
||||
sha256 = "0m9212yap0a00hd0f61i4y4fna3141p77qj3mm7jl1h4q60jdhvy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ rdkafka zlib ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/didier-wenzek/ocaml-kafka";
|
||||
description = "OCaml bindings for Kafka";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
|
||||
19
pkgs/development/ocaml-modules/kafka/lwt.nix
Normal file
19
pkgs/development/ocaml-modules/kafka/lwt.nix
Normal file
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue