3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/darwin/smimesign/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
712 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2019-07-03 16:13:22 +01:00
buildGoModule rec {
pname = "smimesign";
2020-08-15 01:46:10 +01:00
version = "0.1.0";
2019-07-03 16:13:22 +01:00
src = fetchFromGitHub {
2020-08-15 01:46:10 +01:00
owner = "github";
repo = "smimesign";
rev = "v${version}";
sha256 = "12f8vprp4v78l9ifrlql0mvpyw5qa8nlrh5ajq5js8wljzpx7wsv";
2019-07-03 16:13:22 +01:00
};
2020-08-15 01:46:10 +01:00
vendorSha256 = "1cldxykm9qj5rvyfafam45y5xj4f19700s2f9w7ndhxgfp9vahvz";
2019-07-03 16:13:22 +01:00
2021-08-26 07:45:51 +01:00
ldflags = [ "-X main.versionString=v${version}" ];
2019-07-03 16:13:22 +01:00
meta = with lib; {
2020-08-15 01:46:10 +01: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;
2019-07-03 16:13:22 +01:00
maintainers = [ maintainers.enorris ];
};
}