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

29 lines
857 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, autoconf-archive
2019-08-13 19:55:13 -07:00
, pkgconfig, gettext, libssl, txt2man }:
2014-12-19 13:57:16 -08:00
stdenv.mkDerivation rec {
2019-07-12 02:31:45 -07:00
pname = "axel";
2020-11-25 13:58:19 -08:00
version = "2.17.10";
2014-12-19 13:57:16 -08:00
2019-07-12 02:31:45 -07:00
src = fetchFromGitHub {
owner = "axel-download-accelerator";
repo = pname;
rev = "v${version}";
2020-11-25 13:58:19 -08:00
sha256 = "01mpfkz98r2fx4n0gyi3b4zvlyfd5bxydp2wh431lnj0ahrsiikp";
};
2019-08-13 19:55:13 -07:00
nativeBuildInputs = [ autoreconfHook pkgconfig autoconf-archive txt2man ];
2016-11-19 01:19:54 -08:00
buildInputs = [ gettext libssl ];
2015-11-20 08:02:45 -08:00
2019-08-13 19:55:13 -07:00
installFlags = [ "ETCDIR=${placeholder "out"}/etc" ];
2015-11-20 08:02:45 -08:00
meta = with 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 13:57:16 -08:00
maintainers = with maintainers; [ pSub ];
platforms = with platforms; unix;
2018-07-22 08:33:09 -07:00
license = licenses.gpl2;
};
}