alpine: 2.00 -> 2.21

+6 -14
+6 -14
pkgs/applications/networking/mailreaders/alpine/default.nix
··· 3 3 }: 4 4 5 5 # NOTE: Please check if any changes here are applicable to ../realpine/ as well 6 - let 7 - version = "2.00"; 8 - baseName = "alpine"; 9 - in 10 - stdenv.mkDerivation { 11 - name = "${baseName}-${version}"; 6 + stdenv.mkDerivation rec { 7 + name = "alpine-${version}"; 8 + version = "2.21"; 12 9 13 10 src = fetchurl { 14 - url = "ftp://ftp.cac.washington.edu/alpine/alpine-${version}.tar.bz2"; 15 - sha256 = "19m2w21dqn55rhxbh5lr9qarc2fqa9wmpj204jx7a0zrb90bhpf8"; 11 + url = "http://alpine.freeiz.com/alpine/release/src/${name}.tar.xz"; 12 + sha256 = "0f3llxrmaxw7w9w6aixh752md3cdc91mwfmbarkm8s413f4bcc30"; 16 13 }; 17 14 18 15 buildInputs = [ 19 16 ncurses tcl openssl pam kerberos openldap 20 17 ]; 21 18 22 - hardeningDisable = [ "format" "fortify" ]; 19 + hardeningDisable = [ "format" ]; 23 20 24 21 configureFlags = [ 25 22 "--with-ssl-include-dir=${openssl.dev}/include/openssl" 26 - "--with-tcl-lib=${tcl.libPrefix}" 27 23 "--with-passfile=.pine-passfile" 28 24 ]; 29 - 30 - preConfigure = '' 31 - export NIX_LDFLAGS="$NIX_LDFLAGS -lgcc_s" 32 - ''; 33 25 34 26 meta = { 35 27 description = "Console mail reader";