2022-06-01 06:21:27 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildGoModule
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gh-eco";
|
2022-12-25 23:28:58 +00:00
|
|
|
version = "0.1.3";
|
2022-06-01 06:21:27 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "coloradocolby";
|
|
|
|
repo = "gh-eco";
|
|
|
|
rev = "v${version}";
|
2022-12-25 23:28:58 +00:00
|
|
|
sha256 = "sha256-TE1AymNlxjUtkBnBO/VBjYaqLuRyxL75s6sMidKUXTE=";
|
2022-06-01 06:21:27 +00:00
|
|
|
};
|
|
|
|
|
2023-09-13 04:44:46 +00:00
|
|
|
vendorHash = "sha256-K85fYV1uP/qSw8GPoG1u6UQo94vQOUo4cd9Ro+UApQ0=";
|
2022-06-01 06:21:27 +00:00
|
|
|
|
|
|
|
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 ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "gh-eco";
|
2022-06-01 06:21:27 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|