diff options
author | Bruno Bigras <bigras.bruno@gmail.com> | 2021-12-01 11:43:15 -0500 |
---|---|---|
committer | Bruno Bigras <bigras.bruno@gmail.com> | 2021-12-10 12:21:34 -0500 |
commit | 16f195c00186277f19c52b9999e923294e6e03ce (patch) | |
tree | 993b2b3c67f3bbb3c4a2bcd7b823682e1e3ce865 /pkgs/development/tools/kafka-delta-ingest/default.nix | |
parent | 10810b66ec08192d88f4bfdbb4cb0bfbc9e99ad5 (diff) | |
download | nixpkgs-16f195c00186277f19c52b9999e923294e6e03ce.tar nixpkgs-16f195c00186277f19c52b9999e923294e6e03ce.tar.gz nixpkgs-16f195c00186277f19c52b9999e923294e6e03ce.tar.bz2 nixpkgs-16f195c00186277f19c52b9999e923294e6e03ce.tar.lz nixpkgs-16f195c00186277f19c52b9999e923294e6e03ce.tar.xz nixpkgs-16f195c00186277f19c52b9999e923294e6e03ce.tar.zst nixpkgs-16f195c00186277f19c52b9999e923294e6e03ce.zip |
kafka-delta-ingest: init at unstable-2021-12-08
Diffstat (limited to 'pkgs/development/tools/kafka-delta-ingest/default.nix')
-rw-r--r-- | pkgs/development/tools/kafka-delta-ingest/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/development/tools/kafka-delta-ingest/default.nix b/pkgs/development/tools/kafka-delta-ingest/default.nix new file mode 100644 index 00000000000..9287b4d9087 --- /dev/null +++ b/pkgs/development/tools/kafka-delta-ingest/default.nix @@ -0,0 +1,45 @@ +{ lib +, stdenv +, fetchFromGitHub +, rustPlatform +, pkg-config +, openssl +, perl +, rdkafka +}: + +rustPlatform.buildRustPackage rec { + pname = "kafka-delta-ingest"; + version = "unstable-2021-12-08"; + + src = fetchFromGitHub { + owner = "delta-io"; + repo = pname; + rev = "c48c854145b5aab1b8f36cc04978880794a2273c"; + sha256 = "sha256-q0jOVZlxMHIhnc8y2N8o7Sl5Eg7DfJ96kXrPIV8RD1Y="; + }; + + nativeBuildInputs = [ + pkg-config + perl + ]; + + buildFeatures = [ "dynamic-linking" ]; + + buildInputs = [ + openssl + rdkafka + ]; + + cargoSha256 = "sha256-srSu3Rx58Ee2Y+8MVis1ACXBQ92u1mIvy1DNp0qJ4IA="; + + # many tests seem to require a running kafka instance + doCheck = false; + + meta = with lib; { + description = "A highly efficient daemon for streaming data from Kafka into Delta Lake"; + homepage = "https://github.com/delta-io/kafka-delta-ingest"; + license = licenses.asl20; + maintainers = with maintainers; [ bbigras ]; + }; +} |