nixpkgs/pkgs/development/tools/goda/default.nix
Fabián Heredia Montiel ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00

26 lines
641 B
Nix

{ lib, nix-update-script, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "goda";
version = "0.5.7";
src = fetchFromGitHub {
owner = "loov";
repo = "goda";
rev = "v${version}";
sha256 = "sha256-kilFb/2wXdzn/gXy9mBg0PZH8rd+MFIom4AGAZLgnBo=";
};
vendorHash = "sha256-FYjlOYB0L4l6gF8hYtJroV1qMQD0ZmKWXBarjyConRs=";
passthru.updateScript = nix-update-script { };
meta = with lib; {
homepage = "https://github.com/loov/goda";
description = "Go Dependency Analysis toolkit";
maintainers = with maintainers; [ michaeladler ];
license = licenses.mit;
mainProgram = "goda";
};
}