From 91f636514d7d17607552d6aeee57740d19541fd4 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Wed, 3 Aug 2022 10:39:57 +0200 Subject: [PATCH] go-autoconfig: init at unstable-2022-08-03 --- pkgs/servers/go-autoconfig/default.nix | 29 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/servers/go-autoconfig/default.nix diff --git a/pkgs/servers/go-autoconfig/default.nix b/pkgs/servers/go-autoconfig/default.nix new file mode 100644 index 000000000000..4b0b2757b59a --- /dev/null +++ b/pkgs/servers/go-autoconfig/default.nix @@ -0,0 +1,29 @@ +{ buildGoModule +, fetchFromGitHub +, lib +}: + +buildGoModule rec { + pname = "go-autoconfig"; + version = "unstable-2022-08-03"; + + src = fetchFromGitHub { + owner = "L11R"; + repo = pname; + rev = "b1b182202da82cc881dccd715564853395d4f76a"; + sha256 = "sha256-Rbg6Ghp5NdcLSLSIhwwFFMKmZPWsboDyHCG6ePqSSZA="; + }; + + vendorSha256 = "sha256-pI2iucrt7XLLZNOz364kOEulXxPdvJp92OewqnkQEO4="; + + postInstall = '' + cp -r templates $out/ + ''; + + meta = with lib; { + description = "IMAP/SMTP autodiscover feature for Thunderbird, Apple Mail and Microsoft Outlook"; + homepage = "https://github.com/L11R/go-autoconfig"; + license = licenses.mit; + maintainers = with maintainers; [ onny ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3528a280d508..394192c546f9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22923,6 +22923,8 @@ with pkgs; nats-server = callPackage ../servers/nats-server { }; + go-autoconfig = callPackage ../servers/go-autoconfig { }; + go-camo = callPackage ../servers/http/go-camo { }; gofish = callPackage ../servers/gopher/gofish { };