Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 51 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ buildGoModule, fetchFromGitHub, lib, nix-update-script, steampipe,}:
buildGoModule rec { pname = "steampipe-plugin-github"; version = "1.5.0";
src = fetchFromGitHub { owner = "turbot"; repo = "steampipe-plugin-github"; tag = "v${version}"; hash = "sha256-+RHYPeVY19zRWhI4U4dWuHJseBO9r7hms7XsLrknA2I="; };
vendorHash = "sha256-vZDXLfo9EtPKSLE8hHA5lR/RgJtWESdOqOjpFywXKbs=";
ldflags = [ "-s" "-w" ];
doCheck = true;
installPhase = '' runHook preInstall
mkdir -p $out cp $GOPATH/bin/steampipe-plugin-github $out/steampipe-plugin-github.plugin cp -R docs $out/. cp -R config $out/.
runHook postInstall '';
passthru.updateScript = nix-update-script { };
meta = { changelog = "https://github.com/turbot/steampipe-plugin-github/blob/v${version}/CHANGELOG.md"; description = "GitHub Plugin for Steampipe"; homepage = "https://github.com/turbot/steampipe-plugin-github"; license = lib.licenses.asl20; longDescription = "Use SQL to instantly query repositories, users, gists and more from GitHub."; maintainers = with lib.maintainers; [ anthonyroussel ]; platforms = steampipe.meta.platforms; };}