2020-03-27 07:33:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2019-07-03 16:13:22 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "smimesign";
|
2019-07-03 16:13:22 +01:00
|
|
|
version = "v0.0.13";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "github";
|
|
|
|
repo = "smimesign";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0higcg2rdz02c0n50vigg7w7bxc7wlmg1x2ygrbh3iwms5lc74vi";
|
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "00000000000000000hlvwysx045nbw0xr5nngh7zj1wcqxhhm206";
|
2019-07-03 16:13:22 +01:00
|
|
|
|
|
|
|
buildFlagsArray = "-ldflags=-X main.versionString=${version}";
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-07-03 16:13:22 +01:00
|
|
|
description = "An S/MIME signing utility for macOS and Windows that is compatible with Git.";
|
|
|
|
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/github/smimesign";
|
2019-07-03 16:13:22 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
maintainers = [ maintainers.enorris ];
|
|
|
|
};
|
|
|
|
}
|