nixpkgs-suyu/pkgs/tools/networking/aria2/default.nix
2015-06-05 13:00:52 -07:00

24 lines
763 B
Nix

{ stdenv, fetchurl, pkgconfig, cacert, c-ares, openssl, libxml2, sqlite, zlib }:
stdenv.mkDerivation rec {
name = "aria2-${version}";
version = "1.19.0";
src = fetchurl {
url = "mirror://sourceforge/aria2/stable/${name}/${name}.tar.xz";
sha256 = "0xm4fmap9gp2pz6z01mnnpmazw6pnhzs8qc58181m5ai4gy5ksp2";
};
buildInputs = [ pkgconfig c-ares openssl libxml2 sqlite zlib ];
propagatedBuildInputs = [ cacert ];
configureFlags = [ "--with-ca-bundle=${cacert}/etc/ssl/certs/ca-bundle.crt" ];
meta = with stdenv.lib; {
homepage = http://aria2.sourceforge.net/;
description = "A lightweight, multi-protocol, multi-source, command-line download utility";
maintainers = [ maintainers.koral ];
license = licenses.gpl2Plus;
};
}