mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 21:25:30 +03:00
sendgmail: init at 0-unstable-2025-03-06
This commit is contained in:
parent
6a39c6e495
commit
4b92da53ca
1 changed files with 31 additions and 0 deletions
31
pkgs/by-name/se/sendgmail/package.nix
Normal file
31
pkgs/by-name/se/sendgmail/package.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue