summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/mpop
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-10-12 09:30:43 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-10-12 09:30:43 +0200
commit8e3a5a34049d4dfb469ee7e5f112585fc5c09a30 (patch)
tree7519a500fa46570a08ea17afd1f6d202a8e18391 /pkgs/applications/networking/mpop
parent80d606efb79adc59caba44dc31706efc993a1878 (diff)
mpop: 1.4.14 -> 1.4.15
Diffstat (limited to 'pkgs/applications/networking/mpop')
-rw-r--r--pkgs/applications/networking/mpop/default.nix46
1 files changed, 31 insertions, 15 deletions
diff --git a/pkgs/applications/networking/mpop/default.nix b/pkgs/applications/networking/mpop/default.nix
index 75f620ead9cf..a14e55e51f29 100644
--- a/pkgs/applications/networking/mpop/default.nix
+++ b/pkgs/applications/networking/mpop/default.nix
@@ -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
+ ];
+
+ buildInputs = [
+ gnutls
+ gsasl
+ libidn
+ ] ++ lib.optional stdenv.isDarwin [
+ Security
+ ];
- configureFlags = optional stdenv.isDarwin [ "--with-macosx-keyring" ];
+ configureFlags = lib.optional stdenv.isDarwin [
+ "--with-macosx-keyring"
+ ];
- meta = {
- description = "POP3 mail retrieval agent";
- homepage = "https://marlam.de/mpop";
- license = licenses.gpl3Plus;
- platforms = platforms.unix;
- };
+ meta = with lib;{
+ description = "POP3 mail retrieval agent";
+ homepage = "https://marlam.de/mpop";
+ license = licenses.gpl3Plus;
+ platforms = platforms.unix;
+ };
}