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
33 lines
830 B
Nix
33 lines
830 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
buildGoModule {
|
|
pname = "sendgmail";
|
|
version = "0-unstable-2025-03-06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "gmail-oauth2-tools";
|
|
rev = "85c6b4f07e637683cc5e0ec6a66ce8e4397a4b18";
|
|
hash = "sha256-bzbTU9SA4dJKtQVkqESvV5o3l3MY4Uy7HDqo7jI3dhM=";
|
|
};
|
|
|
|
sourceRoot = "source/go/sendgmail";
|
|
|
|
vendorHash = "sha256-0pjcO2Ati+mUSw614uEL3CatHSgbgDUfOBE8bWpjmcw=";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Mimic sendmail with Gmail for git send-email";
|
|
homepage = "https://github.com/google/gmail-oauth2-tools/tree/master/go/sendgmail";
|
|
maintainers = [ lib.maintainers.samw ];
|
|
license = lib.licenses.asl20;
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "sendgmail";
|
|
};
|
|
}
|