Merge pull request #173047 from LeSuisse/gitsign-0.0.2-alpha

gitsign: init at 0.1.0
This commit is contained in:
Bobby Rong 2022-06-03 19:58:31 +08:00 committed by GitHub
commit bd7aa1e1bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, buildGoModule, fetchFromGitHub, stdenv }:
buildGoModule rec {
pname = "gitsign";
version = "0.1.0";
src = fetchFromGitHub {
owner = "sigstore";
repo = pname;
rev = "v${version}";
sha256 = "sha256-tcWq+WZJLyO8lJKxV0QSDH1JKgW+9FaC9FxrSotLQag=";
};
vendorSha256 = "sha256-34pyHAUU1+K9qNAi7rPZIvaGAen+LrwEqLyrrzUaLbk=";
ldflags = [ "-s" "-w" ];
meta = {
homepage = "https://github.com/sigstore/gitsign";
changelog = "https://github.com/sigstore/gitsign/releases/tag/v${version}";
description = "Keyless Git signing using Sigstore";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ lesuisse ];
# Need updated macOS SDK
# https://github.com/NixOS/nixpkgs/issues/101229
broken = (stdenv.isDarwin && stdenv.isx86_64);
};
}

View File

@ -6399,6 +6399,10 @@ with pkgs;
gitleaks = callPackage ../tools/security/gitleaks { };
gitsign = callPackage ../tools/security/gitsign {
buildGoModule = buildGo118Module;
};
gitaly = callPackage ../applications/version-management/gitlab/gitaly { };
gitqlient = libsForQt5.callPackage ../applications/version-management/gitqlient { };