sendgmail: init at 0-unstable-2025-03-06

This commit is contained in:
Sam W 2025-04-09 01:43:29 +01:00 committed by GitHub
parent 6a39c6e495
commit 4b92da53ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,31 @@
{
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;
};
}