forked from mirrors/nixpkgs
Merge pull request #224267 from paveloom/gut
This commit is contained in:
commit
2d2d196bd4
33
pkgs/applications/version-management/gut/default.nix
Normal file
33
pkgs/applications/version-management/gut/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue