Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 41 lines 898 B view raw
1{ lib 2, buildGoModule 3, fetchFromGitHub 4}: 5 6buildGoModule rec { 7 pname = "benthos"; 8 version = "4.27.0"; 9 10 src = fetchFromGitHub { 11 owner = "benthosdev"; 12 repo = "benthos"; 13 rev = "refs/tags/v${version}"; 14 hash = "sha256-Jswy4Ku/dxIEfC+jNjLXu/WW24enc4Qn0vrOHvNDVYQ="; 15 }; 16 17 proxyVendor = true; 18 19 vendorHash = "sha256-6CVDhy29bIn19EgKbKDNTBWdy+i18g0oz/NxABcQ6QE="; 20 21 doCheck = false; 22 23 subPackages = [ 24 "cmd/benthos" 25 ]; 26 27 ldflags = [ 28 "-s" 29 "-w" 30 "-X github.com/benthosdev/benthos/v4/internal/cli.Version=${version}" 31 ]; 32 33 meta = with lib; { 34 description = "Fancy stream processing made operationally mundane"; 35 mainProgram = "benthos"; 36 homepage = "https://www.benthos.dev"; 37 changelog = "https://github.com/benthosdev/benthos/blob/v${version}/CHANGELOG.md"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ sagikazarmark ]; 40 }; 41}