nixpkgs/pkgs/os-specific/darwin/smimesign/default.nix
Jörg Thalheim 066db11215
Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit 4e6bf03504, reversing
changes made to afd997aab6.

Instead we propagate those frameworks from the compiler again
2020-03-27 07:33:21 +00:00

27 lines
711 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "smimesign";
version = "v0.0.13";
src = fetchFromGitHub {
owner = "github";
repo = "smimesign";
rev = version;
sha256 = "0higcg2rdz02c0n50vigg7w7bxc7wlmg1x2ygrbh3iwms5lc74vi";
};
modSha256 = "1k3gnjzblfk14y19zhlvwysx045nbw0xr5nngh7zj1wcqxhhm206";
buildFlagsArray = "-ldflags=-X main.versionString=${version}";
meta = with lib; {
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;
maintainers = [ maintainers.enorris ];
};
}