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