Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
775 B
Nix
37 lines
775 B
Nix
{
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
lib,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "smimesign";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "github";
|
|
repo = "smimesign";
|
|
rev = "v${version}";
|
|
hash = "sha256-W9Hj/+snx+X6l95Gt9d8DiLnBPV9npKydc/zMN9G0vQ=";
|
|
};
|
|
|
|
vendorHash = "sha256-wLqYUICL+gdvRCLNrA0ZNcFI4oV3Oik762q7xF115Lw=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X main.versionString=v${version}"
|
|
];
|
|
|
|
# Fails in sandbox
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "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;
|
|
maintainers = [ maintainers.enorris ];
|
|
};
|
|
}
|