about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/axel/default.nix
blob: fa435b6c66ada6a4d941efcf85b9a1969a667b66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchurl, autoreconfHook, pkgconfig, gettext, libssl }:

stdenv.mkDerivation rec {
  name = "axel-${version}";
  version = "2.17.1";

  src = fetchurl {
  url = "https://github.com/axel-download-accelerator/axel/releases/download/v${version}/${name}.tar.xz";
    sha256 = "1mwyps6yvrjxp7mpzc0a2hwr2pw050c63fc9aqjzdzjjw123dfrn";
  };

  nativeBuildInputs = [ autoreconfHook pkgconfig ];

  buildInputs = [ gettext libssl ];

  installFlags = [ "ETCDIR=$(out)/etc" ];

  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";
    maintainers = with maintainers; [ pSub ];
    platforms = with platforms; linux;
    license = licenses.gpl2;
  };
}