Merge pull request #141351 from hardselius/steampipe

Sandro edf9cbe0 05344c47

Changed files
+52
maintainers
pkgs
tools
misc
steampipe
top-level
+10
maintainers/maintainer-list.nix
···
githubId = 54728477;
name = "Happy River";
};
+
hardselius = {
+
email = "martin@hardselius.dev";
+
github = "hardselius";
+
githubId = 1422583;
+
name = "Martin Hardselius";
+
keys = [{
+
longkeyid = "rsa4096/0x03A6E6F786936619";
+
fingerprint = "3F35 E4CA CBF4 2DE1 2E90 53E5 03A6 E6F7 8693 6619";
+
}];
+
};
haslersn = {
email = "haslersn@fius.informatik.uni-stuttgart.de";
github = "haslersn";
+40
pkgs/tools/misc/steampipe/default.nix
···
+
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
+
+
buildGoModule rec {
+
pname = "steampipe";
+
version = "0.8.5";
+
+
src = fetchFromGitHub {
+
owner = "turbot";
+
repo = "steampipe";
+
rev = "v${version}";
+
sha256 = "sha256-3vetSUJwCeaBzKj+635siskfcDPs/kkgCH954cg/REA=";
+
};
+
+
vendorSha256 = "sha256-TGDFNHWWbEy1cD7b2yPqAN7rRrLvL0ZX/R3BWGRWjjw=";
+
+
# tests are failing for no obvious reasons
+
doCheck = false;
+
+
nativeBuildInputs = [ installShellFiles ];
+
+
ldflags = [
+
"-s"
+
"-w"
+
];
+
+
postInstall = ''
+
INSTALL_DIR=$(mktemp -d)
+
installShellCompletion --cmd steampipe \
+
--bash <($out/bin/steampipe --install-dir $INSTALL_DIR completion bash) \
+
--fish <($out/bin/steampipe --install-dir $INSTALL_DIR completion fish) \
+
--zsh <($out/bin/steampipe --install-dir $INSTALL_DIR completion zsh)
+
'';
+
+
meta = with lib; {
+
homepage = "https://steampipe.io/";
+
description = "select * from cloud;";
+
license = licenses.agpl3;
+
maintainers = with maintainers; [ hardselius ];
+
};
+
}
+2
pkgs/top-level/all-packages.nix
···
statserial = callPackage ../tools/misc/statserial { };
+
steampipe = callPackage ../tools/misc/steampipe { };
+
step-ca = callPackage ../tools/security/step-ca {
inherit (darwin.apple_sdk.frameworks) PCSC;
};