2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, autoconf-archive
|
2021-01-17 03:51:22 +00:00
|
|
|
, pkg-config, gettext, libssl, txt2man }:
|
2007-08-16 19:50:59 +00:00
|
|
|
|
2014-12-19 21:57:16 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-07-12 09:31:45 +00:00
|
|
|
pname = "axel";
|
2020-11-25 21:58:19 +00:00
|
|
|
version = "2.17.10";
|
2014-12-19 21:57:16 +00:00
|
|
|
|
2019-07-12 09:31:45 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "axel-download-accelerator";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-25 21:58:19 +00:00
|
|
|
sha256 = "01mpfkz98r2fx4n0gyi3b4zvlyfd5bxydp2wh431lnj0ahrsiikp";
|
2007-08-16 19:50:59 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config autoconf-archive txt2man ];
|
2016-11-19 09:19:54 +00:00
|
|
|
|
|
|
|
buildInputs = [ gettext libssl ];
|
2015-11-20 16:02:45 +00:00
|
|
|
|
2019-08-14 02:55:13 +00:00
|
|
|
installFlags = [ "ETCDIR=${placeholder "out"}/etc" ];
|
2015-11-20 16:02:45 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "Console downloading program with some features for parallel connections for faster downloading";
|
2019-05-25 15:58:45 +00:00
|
|
|
homepage = "https://github.com/axel-download-accelerator/axel";
|
2014-12-19 21:57:16 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2020-01-13 10:04:58 +00:00
|
|
|
platforms = with platforms; unix;
|
2018-07-22 15:33:09 +00:00
|
|
|
license = licenses.gpl2;
|
2007-08-16 19:50:59 +00:00
|
|
|
};
|
|
|
|
}
|