mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
43 lines
732 B
Nix
43 lines
732 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, gnutls
|
|
, gsasl
|
|
, libidn
|
|
, pkg-config
|
|
, Security
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mpop";
|
|
version = "1.4.15";
|
|
|
|
src = fetchurl {
|
|
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-P1KytdS8WO2TzwsRRs7k903oHCwHol7gMu+mWUZaAnA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
gnutls
|
|
gsasl
|
|
libidn
|
|
] ++ lib.optional stdenv.isDarwin [
|
|
Security
|
|
];
|
|
|
|
configureFlags = lib.optional stdenv.isDarwin [
|
|
"--with-macosx-keyring"
|
|
];
|
|
|
|
meta = with lib;{
|
|
description = "POP3 mail retrieval agent";
|
|
homepage = "https://marlam.de/mpop";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|