summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorKinoshita Shimizu <ks@kinoshitaproductions.com>2024-12-23 18:58:55 -0600
committerRory& <root@rory.gay>2024-12-24 05:03:24 +0100
commit10a5fb9db08506628ce3f2f9f1fecd2379a0ea40 (patch)
tree62a25f53840075026524a2fba2f16f91de9f93ac /modules
parentServer changes (diff)
downloadRory-Open-Architecture-10a5fb9db08506628ce3f2f9f1fecd2379a0ea40.tar.xz
Add redpanda-connect
Diffstat (limited to 'modules')
-rw-r--r--modules/packages/redpanda-connect.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/modules/packages/redpanda-connect.nix b/modules/packages/redpanda-connect.nix
new file mode 100644

index 0000000..2f9a6d9 --- /dev/null +++ b/modules/packages/redpanda-connect.nix
@@ -0,0 +1,43 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, + nix-update-script, +}: + +buildGoModule rec { + pname = "redpanda-connect"; + version = "4.44.0"; + + src = fetchFromGitHub { + owner = "redpanda-data"; + repo = "connect"; + rev = "refs/tags/v${version}"; + hash = "sha256-pwtP1zybMvq1wQ50Ob20MVR3/v1yd7BjWe1nPFLO6mU="; + }; + + proxyVendor = true; + + subPackages = [ + "cmd/redpanda-connect" + ]; + + vendorHash = "sha256-5KXJiInuEX7fEl7y3iGvxQHptoM5z3TMmg6KZ2lx/fw="; + + ldflags = [ + "-s" + "-w" + "-X github.com/redpanda-data/connect/v4/internal/cli.Version=${version}" + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Fancy stream processing made operationally mundane"; + mainProgram = "redpanda-connect"; + homepage = "https://www.redpanda.com/connect"; + changelog = "https://github.com/redpanda-data/connect/blob/v${version}/CHANGELOG.md"; + # license = lib.licenses.mixed; + maintainers = with lib.maintainers; [ ]; + }; +}