2023-04-12 12:48:02 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, nix-update-script
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gut";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.2.10";
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "julien040";
|
|
|
|
repo = "gut";
|
|
|
|
rev = version;
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-y6GhLuTqOaxAQjDgqh1ivDwGhpYY0a6ZNDdE3Pox3is=";
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
vendorHash = "sha256-91iyAFD/RPEkMarKKVwJ4t92qosP2Db1aQ6dmNZNDwU=";
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X github.com/julien040/gut/src/telemetry.gutVersion=${version}" ];
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
# Depends on `/home` existing
|
2023-04-12 12:48:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An easy-to-use git client for Windows, macOS, and Linux";
|
|
|
|
homepage = "https://github.com/slackhq/go-audit";
|
|
|
|
maintainers = [ lib.maintainers.paveloom ];
|
|
|
|
license = [ lib.licenses.mit ];
|
|
|
|
};
|
|
|
|
}
|