lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 24.05-pre 45 lines 1.5 kB view raw
1{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: 2 3buildGoModule rec { 4 pname = "steampipe"; 5 version = "0.20.12"; 6 7 src = fetchFromGitHub { 8 owner = "turbot"; 9 repo = "steampipe"; 10 rev = "v${version}"; 11 sha256 = "sha256-/vcxK/tX4kvDnQCqO8olHZodAbPDDvz1domJZ1WJqPU="; 12 }; 13 14 vendorHash = "sha256-VuUzo+afUazXH7jaR4Qm5Kfr6qiyHqdGLJWS3MX8oOA="; 15 proxyVendor = true; 16 17 patchPhase = '' 18 runHook prePatch 19 # Patch test that relies on looking up homedir in user struct to prefer ~ 20 substituteInPlace pkg/steampipeconfig/shared_test.go \ 21 --replace 'filehelpers "github.com/turbot/go-kit/files"' "" \ 22 --replace 'filepaths.SteampipeDir, _ = filehelpers.Tildefy("~/.steampipe")' 'filepaths.SteampipeDir = "~/.steampipe"'; 23 runHook postPatch 24 ''; 25 26 nativeBuildInputs = [ installShellFiles ]; 27 28 ldflags = [ "-s" "-w" ]; 29 30 postInstall = '' 31 INSTALL_DIR=$(mktemp -d) 32 installShellCompletion --cmd steampipe \ 33 --bash <($out/bin/steampipe --install-dir $INSTALL_DIR completion bash) \ 34 --fish <($out/bin/steampipe --install-dir $INSTALL_DIR completion fish) \ 35 --zsh <($out/bin/steampipe --install-dir $INSTALL_DIR completion zsh) 36 ''; 37 38 meta = with lib; { 39 homepage = "https://steampipe.io/"; 40 description = "select * from cloud;"; 41 license = licenses.agpl3; 42 maintainers = with maintainers; [ hardselius ]; 43 changelog = "https://github.com/turbot/steampipe/blob/v${version}/CHANGELOG.md"; 44 }; 45}