git.iko.soy/typeable/nixpkgs
on master help sign in
aria2: Fix ssl support and switch back to sourceforge

Using sourceforge gives release binaries which don't require us to regenerate all of the autotools scripts. This removes the need for dependencies like cppunit and libgcrypt and autoreconfHook. cc @geerds

commitab7a1646d9bfcbb9017952fd5767ab18364b7f18 authorWilliam A. Kennington III <william@wkennington.com> dateTue 18 Aug 2015, 17:15 (11 years ago) parent429d4be
1 file changed+8−10
pkgs/tools/networking/aria2/default.nix+8−10
pkgs/tools/networking/aria2/default.nix+8−10
@@ -1,20 +1,18 @@
1−{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, cppunit, libgcrypt
2−, c-ares, libxml2, sqlite, zlib }:
1+{ stdenv, fetchurl, pkgconfig, autoreconfHook
2+, openssl, c-ares, libxml2, sqlite, zlib, libssh2
3+}:
34
45stdenv.mkDerivation rec {
56 name = "aria2-${version}";
67 version = "1.19.0";
78
8− src = fetchFromGitHub {
9− owner = "tatsuhiro-t";
10− repo = "aria2";
11− rev = "release-${version}";
12− sha256 = "1k4b8jfg4wjsvybb7hysplp6h831allhiqdy9jwsyy0m0zmgk00a";
9+ src = fetchurl {
10+ url = "mirror://sourceforge/aria2/${name}.tar.xz";
11+ sha256 = "0xm4fmap9gp2pz6z01mnnpmazw6pnhzs8qc58181m5ai4gy5ksp2";
1312 };
1413
15− buildInputs = [
16− pkgconfig autoreconfHook cppunit libgcrypt c-ares libxml2 sqlite zlib
17− ];
14+ nativeBuildInputs = [ pkgconfig ];
15+ buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ];
1816
1917 configureFlags = [ "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" ];
2018