2022-07-14 12:49:19 +00:00
|
|
|
{ lib, nix-update-script, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "goda";
|
2022-11-27 09:42:12 +00:00
|
|
|
version = "0.5.4";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "loov";
|
|
|
|
repo = "goda";
|
|
|
|
rev = "v${version}";
|
2022-11-27 09:42:12 +00:00
|
|
|
sha256 = "sha256-5MkErXgRJtaXbThJYjGWyvt+RAbtULTe0VoXKU3HQug=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
vendorSha256 = "sha256-BYYuB4ZlCWD8NILkf4qrgM4q72ZTy7Ze3ICUXdoI5Ms=";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|