at v192 34 lines 928 B view raw
1{stdenv, fetchurl, openssl}: 2let 3 s = # Generated upstream information 4 rec { 5 baseName="mailsend"; 6 version="1.18"; 7 name="${baseName}-${version}"; 8 hash="1fjrb6q7y2dxx0qz7r0wlhqfkjqq1vfh7yb7jl77h5qi5kd5rm46"; 9 url="https://github.com/muquit/mailsend/archive/1.18.tar.gz"; 10 sha256="1fjrb6q7y2dxx0qz7r0wlhqfkjqq1vfh7yb7jl77h5qi5kd5rm46"; 11 }; 12 buildInputs = [ 13 openssl 14 ]; 15in 16stdenv.mkDerivation { 17 inherit (s) name version; 18 inherit buildInputs; 19 src = fetchurl { 20 inherit (s) url sha256; 21 }; 22 configureFlags = [ 23 "--with-openssl=${openssl}" 24 ]; 25 meta = { 26 inherit (s) version; 27 description = ''CLI email sending tool''; 28 license = stdenv.lib.licenses.bsd3 ; 29 maintainers = [stdenv.lib.maintainers.raskin]; 30 platforms = stdenv.lib.platforms.linux; 31 homepage = "https://github.com/muquit/mailsend"; 32 downloadPage = "https://github.com/muquit/mailsend/releases"; 33 }; 34}