diff --git a/pkgs/development/nim-packages/smtp/default.nix b/pkgs/development/nim-packages/smtp/default.nix new file mode 100644 index 000000000000..b439e20bc243 --- /dev/null +++ b/pkgs/development/nim-packages/smtp/default.nix @@ -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 ]; + }; +}) diff --git a/pkgs/top-level/nim-packages.nix b/pkgs/top-level/nim-packages.nix index 628da7adca6f..1cae7145347a 100644 --- a/pkgs/top-level/nim-packages.nix +++ b/pkgs/top-level/nim-packages.nix @@ -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 { };