2019-07-12 10:31:45 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, autoconf-archive
|
2019-08-14 03:55:13 +01:00
|
|
|
, pkgconfig, gettext, libssl, txt2man }:
|
2007-08-16 20:50:59 +01:00
|
|
|
|
2014-12-19 21:57:16 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-07-12 10:31:45 +01:00
|
|
|
pname = "axel";
|
2019-09-26 07:32:59 +01:00
|
|
|
version = "2.17.6";
|
2014-12-19 21:57:16 +00:00
|
|
|
|
2019-07-12 10:31:45 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "axel-download-accelerator";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-09-26 07:32:59 +01:00
|
|
|
sha256 = "011cpkf6hpia5b5wfhy84fxfqpishdkvrg0kpbfprymq9bxjp0yl";
|
2007-08-16 20:50:59 +01:00
|
|
|
};
|
|
|
|
|
2019-08-14 03:55:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig 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 03:55:13 +01:00
|
|
|
installFlags = [ "ETCDIR=${placeholder "out"}/etc" ];
|
2015-11-20 16:02:45 +00:00
|
|
|
|
2014-12-19 21:57:16 +00:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-05 15:22:46 +01:00
|
|
|
description = "Console downloading program with some features for parallel connections for faster downloading";
|
2019-05-25 16:58:45 +01:00
|
|
|
homepage = "https://github.com/axel-download-accelerator/axel";
|
2014-12-19 21:57:16 +00:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2018-03-14 19:49:54 +00:00
|
|
|
platforms = with platforms; linux;
|
2018-07-22 16:33:09 +01:00
|
|
|
license = licenses.gpl2;
|
2007-08-16 20:50:59 +01:00
|
|
|
};
|
|
|
|
}
|