@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
1+{ stdenv, fetchpatch, fetchFromGitHub, pkgconfig, autoreconfHook
22, openssl, c-ares, libxml2, sqlite, zlib, libssh2
33, cppunit
44, Security
@@ -15,6 +15,14 @@ stdenv.mkDerivation rec {
1515 sha256 = "0hwqnjyszasr6049vr5mn48slb48v5kw39cbpbxa68ggmhj9bw6m";
1616 };
1717
18+ patches = [
19+ # Remove with 1.35.0.
20+ (fetchpatch {
21+ url = https://github.com/aria2/aria2/commit/e8e04d6f22a507e8374651d3d2343cd9fb986993.patch;
22+ sha256 = "1v27nqbsdjgg3ga4n0v9daq21m3cmdpy7d08kp32200pzag87f4y";
23+ })
24+ ];
25+
1826 nativeBuildInputs = [ pkgconfig autoreconfHook ];
1927
2028 buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ] ++