1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

aria2: fix darwin build (#46548)

Not released yet, see https://github.com/aria2/aria2/issues/1198

/cc ZHF #45961
This commit is contained in:
Daiderd Jordan 2018-09-12 00:11:12 +02:00 committed by xeji
parent 67a1f508ff
commit 2164e39eaa

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
{ stdenv, fetchpatch, fetchFromGitHub, pkgconfig, autoreconfHook
, openssl, c-ares, libxml2, sqlite, zlib, libssh2
, cppunit
, Security
@ -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 ] ++