3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/mpop/default.nix

27 lines
696 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, gnutls, gsasl, libidn, Security }:
2016-05-14 18:03:47 +01:00
2021-01-15 13:21:58 +00:00
with lib;
2017-03-18 01:02:23 +00:00
2016-05-14 18:03:47 +01:00
stdenv.mkDerivation rec {
pname = "mpop";
2021-01-20 05:10:15 +00:00
version = "1.4.12";
2016-05-14 18:03:47 +01:00
src = fetchurl {
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
2021-01-20 05:10:15 +00:00
sha256 = "sha256-X2NVtS2cNgYZYjpAxmwaVXHjk7Q/5YN1wN41QprDSAo=";
2016-05-14 18:03:47 +01:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gnutls gsasl libidn ]
2017-03-18 01:02:23 +00:00
++ optional stdenv.isDarwin Security;
2016-05-14 18:03:47 +01:00
configureFlags = optional stdenv.isDarwin [ "--with-macosx-keyring" ];
2016-05-14 18:03:47 +01:00
meta = {
description = "POP3 mail retrieval agent";
homepage = "https://marlam.de/mpop";
2017-03-18 01:02:23 +00:00
license = licenses.gpl3Plus;
platforms = platforms.unix;
2016-05-14 18:03:47 +01:00
};
}