2020-04-24 23:36:52 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "smimesign";
|
|
|
|
version = "v0.0.13";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "github";
|
|
|
|
repo = "smimesign";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0higcg2rdz02c0n50vigg7w7bxc7wlmg1x2ygrbh3iwms5lc74vi";
|
|
|
|
};
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
vendorSha256 = "00000000000000000hlvwysx045nbw0xr5nngh7zj1wcqxhhm206";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildFlagsArray = "-ldflags=-X main.versionString=${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;
|
|
|
|
maintainers = [ maintainers.enorris ];
|
|
|
|
};
|
|
|
|
}
|