2020-04-24 23:36:52 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "smimesign";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "0.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-20 17:08:02 +00:00
|
|
|
owner = "github";
|
|
|
|
repo = "smimesign";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "12f8vprp4v78l9ifrlql0mvpyw5qa8nlrh5ajq5js8wljzpx7wsv";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
vendorSha256 = "1cldxykm9qj5rvyfafam45y5xj4f19700s2f9w7ndhxgfp9vahvz";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
ldflags = [ "-X main.versionString=v${version}" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00:00
|
|
|
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;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.enorris ];
|
|
|
|
};
|
|
|
|
}
|