1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00
nixpkgs/pkgs/applications/networking/mpop/default.nix

27 lines
703 B
Nix
Raw Normal View History

2016-05-14 18:03:47 +01:00
{ stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn, Security }:
2017-03-18 01:02:23 +00:00
with stdenv.lib;
2016-05-14 18:03:47 +01:00
stdenv.mkDerivation rec {
pname = "mpop";
version = "1.4.4";
2016-05-14 18:03:47 +01:00
src = fetchurl {
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
sha256 = "0j21cp8bw12vgfymxi3i4av3j97lrcyb5y9xa3mb59wr17izz73x";
2016-05-14 18:03:47 +01:00
};
2017-03-18 01:02:23 +00:00
nativeBuildInputs = [ pkgconfig ];
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
};
}