depot/third_party/nixpkgs/pkgs/development/tools/goda/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

27 lines
667 B
Nix

{ lib, nix-update-script, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "goda";
version = "0.5.1";
src = fetchFromGitHub {
owner = "loov";
repo = "goda";
rev = "v${version}";
sha256 = "sha256-tXXUDeqGjv6T2eI/VJ+kwPKJLT7D1nO9BaKN5FHS34I=";
};
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";
};
}