32 pythonPackages = p: with p; [ jinja2 ];
33 seastar = callPackage ./seastar.nix { };
34 base64 = callPackage ./base64.nix { };
35 hdr-histogram = callPackage ./hdr-histogram.nix { };
36 kafka-codegen-venv = python3.withPackages (ps: [
40 rapidjson = callPackage ./rapidjson.nix { };
42 llvmPackages_14.stdenv.mkDerivation rec {
43 inherit pname version src;
47 export CCACHE_DIR=$TMPDIR/sccache-redpanda
54 # Fix 'error: use of undeclared identifier 'roaring'; did you mean 'Roaring
55 # qualified reference to 'Roaring' is a constructor name rather than a type in this context'
57 ./src/v/storage/compacted_offset_list.h \
58 ./src/v/storage/compaction_reducers.cc \
59 ./src/v/storage/compaction_reducers.h \
60 ./src/v/storage/segment_utils.h \
61 ./src/v/storage/segment_utils.cc \
62 --replace 'roaring::Roaring' 'Roaring'
64 patchShebangs ./src/v/rpc/rpc_compiler.py
70 (python3.withPackages pythonPackages)
71 (writeShellScriptBin "kafka-codegen-venv" "exec -a $0 ${kafka-codegen-venv}/bin/python3 $@")
86 "-DREDPANDA_DEPS_SKIP_BUILD=ON"
87 "-DRP_ENABLE_TESTS=OFF"
89 "-DGIT_VER=${version}"
90 "-DGIT_CLEAN_DIRTY=\"\""
113 description = "Kafka-compatible streaming platform.";
114 license = licenses.bsl11;
116 Redpanda is a Kafka-compatible streaming data platform that is
117 proven to be 10x faster and 6x lower in total costs. It is also JVM-free,
118 ZooKeeper-free, Jepsen-tested and source available.
120 homepage = "https://redpanda.com/";
121 maintainers = with maintainers; [ avakhrenev happysalada ];
122 platforms = platforms.linux;