mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
26 lines
641 B
Nix
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";
|
|
};
|
|
}
|