mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
mpop: 1.4.14 -> 1.4.15
This commit is contained in:
parent
80d606efb7
commit
8e3a5a3404
1 changed files with 31 additions and 15 deletions
|
@ -1,26 +1,42 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gnutls, gsasl, libidn, Security }:
|
||||
|
||||
with lib;
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, gnutls
|
||||
, gsasl
|
||||
, libidn
|
||||
, pkg-config
|
||||
, Security
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mpop";
|
||||
version = "1.4.14";
|
||||
version = "1.4.15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
|
||||
sha256 = "046wbglvry54id9wik6c020fs09piv3gig3z0nh5nmyhsxjw4i18";
|
||||
sha256 = "sha256-P1KytdS8WO2TzwsRRs7k903oHCwHol7gMu+mWUZaAnA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ gnutls gsasl libidn ]
|
||||
++ optional stdenv.isDarwin Security;
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
configureFlags = optional stdenv.isDarwin [ "--with-macosx-keyring" ];
|
||||
buildInputs = [
|
||||
gnutls
|
||||
gsasl
|
||||
libidn
|
||||
] ++ lib.optional stdenv.isDarwin [
|
||||
Security
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "POP3 mail retrieval agent";
|
||||
homepage = "https://marlam.de/mpop";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue