diff --git a/pkgs/tools/misc/gh-eco/default.nix b/pkgs/tools/misc/gh-eco/default.nix new file mode 100644 index 000000000000..327d510f8211 --- /dev/null +++ b/pkgs/tools/misc/gh-eco/default.nix @@ -0,0 +1,32 @@ +{ lib +, fetchFromGitHub +, buildGoModule +}: + +buildGoModule rec { + pname = "gh-eco"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "coloradocolby"; + repo = "gh-eco"; + rev = "v${version}"; + sha256 = "sha256-rJG1k8lOyXQSP3FgyyHZvVrQkn2yEtAcgg9CpbPvCwY="; + }; + + vendorSha256 = "sha256-Qx/QGIurjKGFcIdCot1MFPatbGHfum48JOoHlvqA64c="; + + ldflags = [ + "-s" + "-w" + "-X main.Version=${version}" + ]; + + meta = with lib; { + homepage = "https://github.com/coloradocolby/gh-eco"; + description = "gh extension to explore the ecosystem"; + license = licenses.mit; + maintainers = with maintainers; [ helium ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7345955e993d..04b8492fc5a9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1136,6 +1136,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security; }; + gh-eco = callPackage ../tools/misc/gh-eco { }; + glooctl = callPackage ../applications/networking/cluster/glooctl { }; gobgp = callPackage ../tools/networking/gobgp { };