1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 16:46:09 +00:00
nixpkgs/pkgs/os-specific/darwin/smimesign/default.nix

26 lines
725 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
2020-08-15 01:46:10 +01:00
buildFlagsArray = "-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 ];
};
}