bento: init at 1.4.1 (#376799)

authored by

Gaétan Lepage and committed by
GitHub
ea490d19 43914398

+52
+52
pkgs/by-name/be/bento/package.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildGoModule, 5 + versionCheckHook, 6 + nix-update-script, 7 + }: 8 + 9 + buildGoModule rec { 10 + pname = "bento"; 11 + version = "1.4.1"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "warpstreamlabs"; 15 + repo = "bento"; 16 + tag = "v${version}"; 17 + hash = "sha256-ukmmmvc5CWctDO+YaW/PiqWizfXtgbcMlIK6PjhxMm4="; 18 + }; 19 + 20 + vendorHash = "sha256-G67i4tZoevlrj+LhjCoHReoWkIZUQVt4YBavmj+h2OI="; 21 + 22 + subPackages = [ 23 + "cmd/bento" 24 + "cmd/serverless/bento-lambda" 25 + ]; 26 + 27 + ldflags = [ 28 + "-s" 29 + "-w" 30 + "-X github.com/warpstreamlabs/bento/internal/cli.Version=${version}" 31 + "-X main.Version=${version}" 32 + ]; 33 + 34 + nativeInstallCheckInputs = [ versionCheckHook ]; 35 + versionCheckProgramArg = [ "--version" ]; 36 + doInstallCheck = true; 37 + 38 + passthru.updateScript = nix-update-script { }; 39 + 40 + meta = { 41 + description = "High performance and resilient stream processor"; 42 + homepage = "https://warpstreamlabs.github.io/bento/"; 43 + changelog = "https://github.com/warpstreamlabs/bento/releases/tag/v${version}"; 44 + license = lib.licenses.mit; 45 + maintainers = with lib.maintainers; [ genga898 ]; 46 + mainProgram = "bento"; 47 + badPlatforms = [ 48 + # cannot find module providing package github.com/microsoft/gocosmos 49 + lib.systems.inspect.patterns.isDarwin 50 + ]; 51 + }; 52 + }