55932c1bec
This reverts commit cd52c04456
and
others.
Managing certificates (including revoking certificates and adding
custom certificates) becomes extremely painful if every package in the
system potentially depends on a different copy of cacert. Also, it
makes updating cacert rather expensive.
23 lines
713 B
Nix
23 lines
713 B
Nix
{ stdenv, fetchurl, pkgconfig, 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 ];
|
|
|
|
configureFlags = [ "--with-ca-bundle=/etc/ssl/certs/ca-certificates.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;
|
|
};
|
|
}
|