forked from mirrors/nixpkgs
Adding mailsend tool
This commit is contained in:
parent
fb30eb932b
commit
53a5b67d5e
34
pkgs/tools/networking/mailsend/default.nix
Normal file
34
pkgs/tools/networking/mailsend/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{stdenv, fetchurl, openssl}:
|
||||
let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="mailsend";
|
||||
version="1.17b15";
|
||||
name="${baseName}-${version}";
|
||||
hash="0sxjrv9yn2xyjak9si0gw2zalsrfqqcvz0indq9ap5fyalj1pjvk";
|
||||
url="https://github.com/muquit/mailsend/archive/1.17b15.tar.gz";
|
||||
sha256="0sxjrv9yn2xyjak9si0gw2zalsrfqqcvz0indq9ap5fyalj1pjvk";
|
||||
};
|
||||
buildInputs = [
|
||||
openssl
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit (s) name version;
|
||||
inherit buildInputs;
|
||||
src = fetchurl {
|
||||
inherit (s) url sha256;
|
||||
};
|
||||
configureFlags = [
|
||||
"--with-openssl=${openssl}"
|
||||
];
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
description = ''CLI email sending tool'';
|
||||
license = stdenv.lib.licenses.bsd3 ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
homepage = "https://github.com/muquit/mailsend";
|
||||
downloadPage = "https://github.com/muquit/mailsend/releases";
|
||||
};
|
||||
}
|
3
pkgs/tools/networking/mailsend/default.upstream
Normal file
3
pkgs/tools/networking/mailsend/default.upstream
Normal file
|
@ -0,0 +1,3 @@
|
|||
url "https://github.com/muquit/mailsend/releases"
|
||||
ensure_choice
|
||||
version '.*/([0-9][0-9.a-z]*)[.]tar[.].*' '\1'
|
|
@ -1602,6 +1602,8 @@ let
|
|||
|
||||
maildrop = callPackage ../tools/networking/maildrop { };
|
||||
|
||||
mailsend = callPackage ../tools/networking/mailsend { };
|
||||
|
||||
mailpile = callPackage ../applications/networking/mailreaders/mailpile { };
|
||||
|
||||
mailutils = callPackage ../tools/networking/mailutils {
|
||||
|
|
Loading…
Reference in a new issue