3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/aria2/default.nix
José Romildo Malaquias e9f1e1ad06 aria2: 1.24.0 -> 1.26.1
2016-08-30 09:51:35 -03:00

34 lines
944 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook
, openssl, c-ares, libxml2, sqlite, zlib, libssh2
, Security
}:
stdenv.mkDerivation rec {
name = "aria2-${version}";
version = "1.26.1";
src = fetchFromGitHub {
owner = "aria2";
repo = "aria2";
rev = "release-${version}";
sha256 = "1nf7z55cc6ljpz7zzb8ppg8ybg531gfbhyggya7lnr5ka74h87b5";
};
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ openssl c-ares libxml2 sqlite zlib libssh2 ] ++
stdenv.lib.optional stdenv.isDarwin Security;
configureFlags = [ "--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://aria2.github.io;
description = "A lightweight, multi-protocol, multi-source, command-line download utility";
maintainers = with maintainers; [ koral jgeerds ];
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
}