depot/third_party/nixpkgs/pkgs/os-specific/darwin/smimesign/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

28 lines
754 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "smimesign";
version = "0.2.0";
src = fetchFromGitHub {
owner = "github";
repo = "smimesign";
rev = "v${version}";
hash = "sha256-W9Hj/+snx+X6l95Gt9d8DiLnBPV9npKydc/zMN9G0vQ=";
};
vendorHash = "sha256-wLqYUICL+gdvRCLNrA0ZNcFI4oV3Oik762q7xF115Lw=";
ldflags = [ "-s" "-w" "-X main.versionString=v${version}" ];
# Fails in sandbox
doCheck = false;
meta = with lib; {
description = "S/MIME signing utility for macOS and Windows that is compatible with Git";
homepage = "https://github.com/github/smimesign";
license = licenses.mit;
platforms = platforms.darwin ++ platforms.windows;
maintainers = [ maintainers.enorris ];
};
}