Merge pull request #173047 from LeSuisse/gitsign-0.0.2-alpha
gitsign: init at 0.1.0
This commit is contained in:
commit
bd7aa1e1bf
27
pkgs/tools/security/gitsign/default.nix
Normal file
27
pkgs/tools/security/gitsign/default.nix
Normal 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);
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user