2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, autoconf-archive
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config, gettext, libssl, txt2man }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "axel";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "2.17.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "axel-download-accelerator";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "01mpfkz98r2fx4n0gyi3b4zvlyfd5bxydp2wh431lnj0ahrsiikp";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config autoconf-archive txt2man ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ gettext libssl ];
|
|
|
|
|
|
|
|
installFlags = [ "ETCDIR=${placeholder "out"}/etc" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Console downloading program with some features for parallel connections for faster downloading";
|
|
|
|
homepage = "https://github.com/axel-download-accelerator/axel";
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|