3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #224267 from paveloom/gut

This commit is contained in:
Sandro 2023-04-10 21:34:16 +02:00 committed by GitHub
commit 2d2d196bd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ 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 ];
};
}

View file

@ -2045,6 +2045,8 @@ with pkgs;
gst = callPackage ../applications/version-management/gst { };
gut = callPackage ../applications/version-management/gut { };
hred = callPackage ../development/tools/hred { };
hub = callPackage ../applications/version-management/hub { };