depot/third_party/nixpkgs/pkgs/os-specific/darwin/smimesign/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

25 lines
725 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "smimesign";
version = "0.1.0";
src = fetchFromGitHub {
owner = "github";
repo = "smimesign";
rev = "v${version}";
sha256 = "12f8vprp4v78l9ifrlql0mvpyw5qa8nlrh5ajq5js8wljzpx7wsv";
};
vendorSha256 = "1cldxykm9qj5rvyfafam45y5xj4f19700s2f9w7ndhxgfp9vahvz";
buildFlagsArray = "-ldflags=-X main.versionString=v${version}";
meta = with lib; {
description = "An 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 ];
};
}