Skip to content

Commit

Permalink
aria2: fix darwin build (#46548)
Browse files Browse the repository at this point in the history
Not released yet, see aria2/aria2#1198

/cc ZHF #45961

(cherry picked from commit 2164e39)
  • Loading branch information
LnL7 authored and xeji committed Sep 11, 2018
1 parent 3ef52f0 commit 40e4aee
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/tools/networking/aria2/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
{ stdenv, fetchpatch, fetchFromGitHub, pkgconfig, autoreconfHook
, openssl, c-ares, libxml2, sqlite, zlib, libssh2
, cppunit
, Security
Expand All @@ -15,6 +15,14 @@ stdenv.mkDerivation rec {
sha256 = "0hwqnjyszasr6049vr5mn48slb48v5kw39cbpbxa68ggmhj9bw6m";
};

patches = [
# Remove with 1.35.0.
(fetchpatch {
url = https://github.com/aria2/aria2/commit/e8e04d6f22a507e8374651d3d2343cd9fb986993.patch;
sha256 = "1v27nqbsdjgg3ga4n0v9daq21m3cmdpy7d08kp32200pzag87f4y";
})
];

nativeBuildInputs = [ pkgconfig autoreconfHook ];

buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ] ++
Expand Down

0 comments on commit 40e4aee

Please sign in to comment.