2022-07-14 12:49:19 +00:00
|
|
|
{ lib, nix-update-script, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "goda";
|
2022-09-22 12:36:57 +00:00
|
|
|
version = "0.5.2";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "loov";
|
|
|
|
repo = "goda";
|
|
|
|
rev = "v${version}";
|
2022-09-22 12:36:57 +00:00
|
|
|
sha256 = "sha256-gXpO0DvxghyJIIxjE/KGjF/uRQ5W3p5QhqtmzeDmAfA=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "sha256-OyQEw6mRrRneo3T8wns0doU4lxJYEoilTd30xctLBJ4=";
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script {
|
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/loov/goda";
|
|
|
|
description = "Go Dependency Analysis toolkit";
|
|
|
|
maintainers = with maintainers; [ michaeladler ];
|
|
|
|
license = licenses.mit;
|
|
|
|
mainProgram = "goda";
|
|
|
|
};
|
|
|
|
}
|