mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
commit
ce9576dc47
|
@ -1,24 +1,27 @@
|
||||||
{ stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn, Security }:
|
{ stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn, Security }:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.2.4";
|
version = "1.2.6";
|
||||||
name = "mpop-${version}";
|
name = "mpop-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/mpop/${name}.tar.xz";
|
url = "mirror://sourceforge/mpop/${name}.tar.xz";
|
||||||
sha256 = "158zl6clxrl2id4kvdig2lvdvm0vg2byqcgn1dnxfjg5mw16ngwk";
|
sha256 = "0p1ix63jh64dibrlccch8q7gxl9nn18wd2qpyr5z1h4gs2fpmv4z";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ openssl pkgconfig gnutls gsasl libidn ]
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
++ stdenv.lib.optional stdenv.isDarwin Security;
|
buildInputs = [ openssl gnutls gsasl libidn ]
|
||||||
|
++ optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
stdenv.lib.optional stdenv.isDarwin [ "--with-macosx-keyring" ];
|
optional stdenv.isDarwin [ "--with-macosx-keyring" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "POP3 mail retrieval agent";
|
description = "POP3 mail retrieval agent";
|
||||||
homepage = "http://mpop.sourceforge.net/";
|
homepage = http://mpop.sourceforge.net/;
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue