nimPackages.smtp: package broken out of standard library

This commit is contained in:
Emery Hemingway 2023-08-02 15:16:12 +01:00
parent ed353dc721
commit 62dba54481
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ lib, buildNimPackage, fetchFromGitHub }:
buildNimPackage (final: prev: {
pname = "smtp";
version = "unstable-2023-03-04";
src = fetchFromGitHub {
owner = "nim-lang";
repo = "smtp";
rev = "8013aa199dedd04905d46acf3484a232378de518";
hash = "sha256-7jPykp79nAY1G0CSajyn6Jw/Ad+XCulBk9HjtKMPEQ4=";
};
meta = final.src.meta // {
description = "SMTP client";
homepage = "https://github.com/nim-lang/smtp";
license = [ lib.licenses.mit ];
maintainers = with lib.maintainers; [ ehmry ];
};
})

View file

@ -107,6 +107,8 @@ lib.makeScope newScope (self:
nimraylib-now = callPackage ../development/nim-packages/nimraylib-now { };
smtp = callPackage ../development/nim-packages/smtp { };
spry = callPackage ../development/nim-packages/spry { };
spryvm = callPackage ../development/nim-packages/spryvm { };