diff --git a/pkgs/tools/misc/steampipe/default.nix b/pkgs/tools/misc/steampipe/default.nix new file mode 100644 index 000000000000..0df0b3c4e31c --- /dev/null +++ b/pkgs/tools/misc/steampipe/default.nix @@ -0,0 +1,30 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +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; + + ldflags = [ + "-s" + "-w" + ]; + + meta = with lib; { + homepage = "https://steampipe.io/"; + description = "select * from cloud;"; + license = licenses.agpl3; + maintainers = with maintainers; [ hardselius ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3f7c3bd803a0..72e707ec231e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3435,6 +3435,8 @@ with pkgs; statserial = callPackage ../tools/misc/statserial { }; + steampipe = callPackage ../tools/misc/steampipe { }; + step-ca = callPackage ../tools/security/step-ca { inherit (darwin.apple_sdk.frameworks) PCSC; };