nixpkgs/pkgs/development/tools/goda/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
667 B
Nix
Raw Normal View History

2022-07-05 10:48:03 +00:00
{ lib, nix-update-script, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "goda";
2022-09-17 10:01:09 +00:00
version = "0.5.2";
2022-07-05 10:48:03 +00:00
src = fetchFromGitHub {
owner = "loov";
repo = "goda";
rev = "v${version}";
2022-09-17 10:01:09 +00:00
sha256 = "sha256-gXpO0DvxghyJIIxjE/KGjF/uRQ5W3p5QhqtmzeDmAfA=";
2022-07-05 10:48:03 +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";
};
}