nixpkgs-suyu/pkgs/tools/networking/axel/default.nix

29 lines
858 B
Nix
Raw Normal View History

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