Unverified Commit dccb1682 authored by Gergő Gutyina's avatar Gergő Gutyina Committed by GitHub
Browse files

axel: migrate to by-name, modernize (#489553)

parents b4323372 40e95ccc
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -6,19 +6,19 @@
  autoconf-archive,
  pkg-config,
  gettext,
  libssl,
  openssl,
  txt2man,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "axel";
  version = "2.17.14";

  src = fetchFromGitHub {
    owner = "axel-download-accelerator";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-5GUna5k8GhAx1Xe8n9IvXT7IO6gksxCLh+sMANlxTBM=";
    repo = "axel";
    tag = "v${finalAttrs.version}";
    hash = "sha256-5GUna5k8GhAx1Xe8n9IvXT7IO6gksxCLh+sMANlxTBM=";
  };

  postPatch = ''
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {

  buildInputs = [
    gettext
    libssl
    openssl
  ];

  installFlags = [ "ETCDIR=${placeholder "out"}/etc" ];
@@ -53,4 +53,4 @@ stdenv.mkDerivation rec {
    license = lib.licenses.gpl2Plus;
    mainProgram = "axel";
  };
}
})
+0 −4
Original line number Diff line number Diff line
@@ -1559,10 +1559,6 @@ with pkgs;
    withLibdnssdCompat = true;
  };

  axel = callPackage ../tools/networking/axel {
    libssl = openssl;
  };

  babelfish = callPackage ../shells/fish/babelfish.nix { };

  bat-extras = recurseIntoAttrs (lib.makeScope newScope (import ../tools/misc/bat-extras));