tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
mpop: 1.2.4 -> 1.2.6
ndowens
8 years ago
8ef05d30
63f1a14a
+11
-8
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
mpop
default.nix
+11
-8
pkgs/applications/networking/mpop/default.nix
···
1
{ stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn, Security }:
2
0
0
3
stdenv.mkDerivation rec {
4
-
version = "1.2.4";
5
name = "mpop-${version}";
6
7
src = fetchurl {
8
url = "mirror://sourceforge/mpop/${name}.tar.xz";
9
-
sha256 = "158zl6clxrl2id4kvdig2lvdvm0vg2byqcgn1dnxfjg5mw16ngwk";
10
};
11
12
-
buildInputs = [ openssl pkgconfig gnutls gsasl libidn ]
13
-
++ stdenv.lib.optional stdenv.isDarwin Security;
0
14
15
configureFlags =
16
-
stdenv.lib.optional stdenv.isDarwin [ "--with-macosx-keyring" ];
17
18
meta = {
19
description = "POP3 mail retrieval agent";
20
-
homepage = "http://mpop.sourceforge.net/";
21
-
license = stdenv.lib.licenses.gpl3Plus;
22
-
platforms = stdenv.lib.platforms.unix;
23
};
24
}
···
1
{ stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn, Security }:
2
3
+
with stdenv.lib;
4
+
5
stdenv.mkDerivation rec {
6
+
version = "1.2.6";
7
name = "mpop-${version}";
8
9
src = fetchurl {
10
url = "mirror://sourceforge/mpop/${name}.tar.xz";
11
+
sha256 = "0p1ix63jh64dibrlccch8q7gxl9nn18wd2qpyr5z1h4gs2fpmv4z";
12
};
13
14
+
nativeBuildInputs = [ pkgconfig ];
15
+
buildInputs = [ openssl gnutls gsasl libidn ]
16
+
++ optional stdenv.isDarwin Security;
17
18
configureFlags =
19
+
optional stdenv.isDarwin [ "--with-macosx-keyring" ];
20
21
meta = {
22
description = "POP3 mail retrieval agent";
23
+
homepage = http://mpop.sourceforge.net/;
24
+
license = licenses.gpl3Plus;
25
+
platforms = platforms.unix;
26
};
27
}