From 6b9494f949e2b71464463c723468068d2a1c6dda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 15 Jul 2022 21:33:33 +0200 Subject: [PATCH] snappymail: init at 2.17.0 --- pkgs/servers/snappymail/default.nix | 37 +++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 39 insertions(+) create mode 100644 pkgs/servers/snappymail/default.nix diff --git a/pkgs/servers/snappymail/default.nix b/pkgs/servers/snappymail/default.nix new file mode 100644 index 000000000000..d26497d0e75c --- /dev/null +++ b/pkgs/servers/snappymail/default.nix @@ -0,0 +1,37 @@ +{ lib, stdenv, fetchurl, writeText +, dataPath ? "/var/lib/snappymail" }: +stdenv.mkDerivation rec { + pname = "snappymail"; + version = "2.17.0"; + + src = fetchurl { + url = "https://github.com/the-djmaze/snappymail/releases/download/v${version}/snappymail-${version}.tar.gz"; + sha256 = "sha256-Z8By/X4IheOyCT7F4KArBN+CFUTcSn0VZchcYhAJsCU="; + }; + + sourceRoot = "snappymail"; + + includeScript = writeText "include.php" '' +