fetchmail: cleanup

(cherry picked from commit cb2d6f5b4aa45cab7ff4c403e51b25f83234ddcb)
This commit is contained in:
Sandro Jäckel 2021-08-10 10:48:12 +02:00 committed by Ryan Burns
parent 5c5ca64a83
commit 7b1bdbff58
1 changed files with 6 additions and 10 deletions

View File

@ -1,11 +1,8 @@
{ lib, stdenv, fetchurl, openssl }: { lib, stdenv, fetchurl, openssl }:
let stdenv.mkDerivation rec {
version = "6.4.21";
in
stdenv.mkDerivation {
pname = "fetchmail"; pname = "fetchmail";
inherit version; version = "6.4.21";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/fetchmail/fetchmail-${version}.tar.xz"; url = "mirror://sourceforge/fetchmail/fetchmail-${version}.tar.xz";
@ -16,7 +13,7 @@ stdenv.mkDerivation {
configureFlags = [ "--with-ssl=${openssl.dev}" ]; configureFlags = [ "--with-ssl=${openssl.dev}" ];
meta = { meta = with lib; {
homepage = "https://www.fetchmail.info/"; homepage = "https://www.fetchmail.info/";
description = "A full-featured remote-mail retrieval and forwarding utility"; description = "A full-featured remote-mail retrieval and forwarding utility";
longDescription = '' longDescription = ''
@ -27,9 +24,8 @@ stdenv.mkDerivation {
all flavors of IMAP, ETRN, and ODMR. It can even support IPv6 and all flavors of IMAP, ETRN, and ODMR. It can even support IPv6 and
IPSEC. IPSEC.
''; '';
platforms = platforms.unix;
platforms = lib.platforms.unix; maintainers = [ maintainers.peti ];
maintainers = [ lib.maintainers.peti ]; license = licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
}; };
} }