depot/third_party/nixpkgs/pkgs/applications/version-management/gut/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

33 lines
784 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
, nix-update-script
}:
buildGoModule rec {
pname = "gut";
version = "0.2.7";
src = fetchFromGitHub {
owner = "julien040";
repo = "gut";
rev = version;
sha256 = "sha256-qmp6QWmyharyTzUVXlX/oJZWbeyegX/u8/vzi/pTSaA=";
};
vendorSha256 = "sha256-E4jr+dskBdVXj/B5RW1AKyxxr+f/+ZW42OTO9XbCLuw=";
ldflags = [ "-s" "-w" "-X github.com/julien040/gut/src/telemetry.gutVersion=${version}" ];
# Checks if `/home` exists
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 ];
};
}