nixpkgs/pkgs/os-specific/darwin/smimesign/default.nix

26 lines
725 B
Nix
Raw Normal View History

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