1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/networking/aria2/default.nix
José Romildo Malaquias b767e99923 aria2: 1.22.0 -> 1.23.0
2016-05-30 17:56:26 -03:00

32 lines
957 B
Nix

{ stdenv, fetchurl, pkgconfig, autoreconfHook
, openssl, c-ares, libxml2, sqlite, zlib, libssh2
, Security
}:
stdenv.mkDerivation rec {
name = "aria2-${version}";
version = "1.23.0";
src = fetchurl {
url = "https://github.com/tatsuhiro-t/aria2/releases/download/release-${version}/${name}.tar.xz";
sha256 = "14qz7686zxnhbaqj6l1hqpkykhpygm74h2mzwhh13gqmcj38alaq";
};
nativeBuildInputs = [ pkgconfig ];
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://github.com/tatsuhiro-t/aria2;
description = "A lightweight, multi-protocol, multi-source, command-line download utility";
maintainers = with maintainers; [ koral jgeerds ];
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
}