blob: 7d311d4bc707ef6ec271010729b3c60f4e90946d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ stdenv, fetchurl, pkgconfig, gnutls, gsasl, libidn, Security }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "mpop";
version = "1.4.5";
src = fetchurl {
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
sha256 = "1m6743j8g777lijvxqw2wz6pv2g5a9wlh6zq7awk0hvd44xp4sav";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gnutls gsasl libidn ]
++ optional stdenv.isDarwin Security;
configureFlags = optional stdenv.isDarwin [ "--with-macosx-keyring" ];
meta = {
description = "POP3 mail retrieval agent";
homepage = https://marlam.de/mpop;
license = licenses.gpl3Plus;
platforms = platforms.unix;
};
}
|