mpop: 1.2.4 -> 1.2.6

ndowens 8ef05d30 63f1a14a

+11 -8
+11 -8
pkgs/applications/networking/mpop/default.nix
··· 1 1 { stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn, Security }: 2 2 3 + with stdenv.lib; 4 + 3 5 stdenv.mkDerivation rec { 4 - version = "1.2.4"; 6 + version = "1.2.6"; 5 7 name = "mpop-${version}"; 6 8 7 9 src = fetchurl { 8 10 url = "mirror://sourceforge/mpop/${name}.tar.xz"; 9 - sha256 = "158zl6clxrl2id4kvdig2lvdvm0vg2byqcgn1dnxfjg5mw16ngwk"; 11 + sha256 = "0p1ix63jh64dibrlccch8q7gxl9nn18wd2qpyr5z1h4gs2fpmv4z"; 10 12 }; 11 13 12 - buildInputs = [ openssl pkgconfig gnutls gsasl libidn ] 13 - ++ stdenv.lib.optional stdenv.isDarwin Security; 14 + nativeBuildInputs = [ pkgconfig ]; 15 + buildInputs = [ openssl gnutls gsasl libidn ] 16 + ++ optional stdenv.isDarwin Security; 14 17 15 18 configureFlags = 16 - stdenv.lib.optional stdenv.isDarwin [ "--with-macosx-keyring" ]; 19 + optional stdenv.isDarwin [ "--with-macosx-keyring" ]; 17 20 18 21 meta = { 19 22 description = "POP3 mail retrieval agent"; 20 - homepage = "http://mpop.sourceforge.net/"; 21 - license = stdenv.lib.licenses.gpl3Plus; 22 - platforms = stdenv.lib.platforms.unix; 23 + homepage = http://mpop.sourceforge.net/; 24 + license = licenses.gpl3Plus; 25 + platforms = platforms.unix; 23 26 }; 24 27 }