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

29 lines
828 B
Nix
Raw Normal View History

2019-07-12 12:31:45 +03:00
{ stdenv, fetchFromGitHub, autoreconfHook, autoconf-archive
, pkgconfig, gettext, libssl }:
2014-12-20 00:57:16 +03:00
stdenv.mkDerivation rec {
2019-07-12 12:31:45 +03:00
pname = "axel";
version = "2.17.3";
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}";
sha256 = "0kdd2y92plv240ba2j3xrm0f8xygvm1ijghnric4whsnxvmgym7h";
};
2019-07-12 12:31:45 +03:00
nativeBuildInputs = [ autoreconfHook pkgconfig autoconf-archive ];
2016-11-19 12:19:54 +03:00
buildInputs = [ gettext libssl ];
2015-11-20 19:02:45 +03:00
installFlags = [ "ETCDIR=$(out)/etc" ];
2014-12-20 00:57:16 +03: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-20 00:57:16 +03:00
maintainers = with maintainers; [ pSub ];
2018-03-14 22:49:54 +03:00
platforms = with platforms; linux;
2018-07-22 18:33:09 +03:00
license = licenses.gpl2;
};
}