git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #16362 from womfoo/aria2

aria2: 1.23.0 -> 1.24.0

commit1d98608e43f256fe48827458a6f5f7159bfc40db authorJoachim Fasting <joachifm@users.noreply.github.com> dateWed 22 Jun 2016, 19:04 (10 years ago) parentc9412ca28fc487
1 file changed+16−7
pkgs/tools/networking/aria2/default.nix+16−7
pkgs/tools/networking/aria2/default.nix+16−7
@@ -1,28 +1,37 @@
1−{ stdenv, fetchurl, pkgconfig, autoreconfHook
1+{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, autoreconfHook
22, openssl, c-ares, libxml2, sqlite, zlib, libssh2
33, Security
44}:
55
66stdenv.mkDerivation rec {
77 name = "aria2-${version}";
8− version = "1.23.0";
8+ version = "1.24.0";
99
10− src = fetchurl {
11− url = "https://github.com/tatsuhiro-t/aria2/releases/download/release-${version}/${name}.tar.xz";
12− sha256 = "14qz7686zxnhbaqj6l1hqpkykhpygm74h2mzwhh13gqmcj38alaq";
10+ src = fetchFromGitHub {
11+ owner = "aria2";
12+ repo = "aria2";
13+ rev = "release-${version}";
14+ sha256 = "0sb8s2rf2l0x7m8fx8kys7vad0lfw3k9071iai03kxplkdvg96n9";
1315 };
1416
15− nativeBuildInputs = [ pkgconfig ];
17+ nativeBuildInputs = [ pkgconfig autoreconfHook ];
1618
1719 buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ] ++
1820 stdenv.lib.optional stdenv.isDarwin Security;
1921
22+ patches = stdenv.lib.optionals stdenv.isDarwin [
23+ (fetchpatch {
24+ url = https://github.com/aria2/aria2/commit/1e59e357af626edc870b7f53c1ae8083658d0d1a.patch;
25+ sha256 = "1xjj4ll1v6adl6vdkl84v0mh7ma6p469ph1wpvksxrq6qp8345qj";
26+ })
27+ ];
28+
2029 configureFlags = [ "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" ];
2130
2231 enableParallelBuilding = true;
2332
2433 meta = with stdenv.lib; {
25− homepage = https://github.com/tatsuhiro-t/aria2;
34+ homepage = https://aria2.github.io;
2635 description = "A lightweight, multi-protocol, multi-source, command-line download utility";
2736 maintainers = with maintainers; [ koral jgeerds ];
2837 license = licenses.gpl2Plus;