depot/third_party/nixpkgs/pkgs/tools/misc/gh-eco/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

32 lines
647 B
Nix

{ lib
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "gh-eco";
version = "0.1.3";
src = fetchFromGitHub {
owner = "coloradocolby";
repo = "gh-eco";
rev = "v${version}";
sha256 = "sha256-TE1AymNlxjUtkBnBO/VBjYaqLuRyxL75s6sMidKUXTE=";
};
vendorSha256 = "sha256-K85fYV1uP/qSw8GPoG1u6UQo94vQOUo4cd9Ro+UApQ0=";
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 ];
};
}