2017-12-13 10:03:55 +00:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig, gettext, libssl }:
|
2007-08-16 19:50:59 +00:00
|
|
|
|
2014-12-19 21:57:16 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "axel-${version}";
|
2019-05-12 18:00:30 +00:00
|
|
|
version = "2.17.1";
|
2014-12-19 21:57:16 +00:00
|
|
|
|
2007-08-16 19:50:59 +00:00
|
|
|
src = fetchurl {
|
2019-05-12 18:00:30 +00:00
|
|
|
url = "https://github.com/axel-download-accelerator/axel/releases/download/v${version}/${name}.tar.xz";
|
|
|
|
sha256 = "1mwyps6yvrjxp7mpzc0a2hwr2pw050c63fc9aqjzdzjjw123dfrn";
|
2007-08-16 19:50:59 +00:00
|
|
|
};
|
|
|
|
|
2017-12-13 10:03:55 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2016-11-19 09:19:54 +00:00
|
|
|
|
|
|
|
buildInputs = [ gettext libssl ];
|
2015-11-20 16:02:45 +00:00
|
|
|
|
|
|
|
installFlags = [ "ETCDIR=$(out)/etc" ];
|
|
|
|
|
2014-12-19 21:57:16 +00:00
|
|
|
meta = with stdenv.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 ];
|
2018-03-14 19:49:54 +00:00
|
|
|
platforms = with platforms; linux;
|
2018-07-22 15:33:09 +00:00
|
|
|
license = licenses.gpl2;
|
2007-08-16 19:50:59 +00:00
|
|
|
};
|
|
|
|
}
|