Commit dc774e4d authored by Francesco Gazzetta's avatar Francesco Gazzetta
Browse files

dillong: drop

parent b7c28e20
Loading
Loading
Loading
Loading
+0 −66
Original line number Diff line number Diff line
{
  lib,
  autoreconfHook,
  fetchFromGitHub,
  fltk,
  mbedtls_2,
  pkg-config,
  stdenv,
  which,
}:

stdenv.mkDerivation {
  pname = "dillong";
  version = "0-unstable-2021-12-13";

  src = fetchFromGitHub {
    owner = "w00fpack";
    repo = "dilloNG";
    rev = "2804e6e9074b840de3084abb80473983f8e49f5b";
    hash = "sha256-JSBd8Lgw3I20Es/jQHBtybnLd0iAcs16TqOrOxGPGiU=";
  };

  nativeBuildInputs = [
    autoreconfHook
    fltk
    pkg-config
    which
  ];

  buildInputs = [
    fltk
    mbedtls_2
  ];

  outputs = [ "out" "doc" "man" ];

  configureFlags = [
    (lib.enableFeature true "ssl")
  ];

  strictDeps = true;

  # Workaround build failure on -fno-common toolchains:
  #   ld: main.o:/build/dillo-3.0.5/dpid/dpid.h:64: multiple definition of `sock_set';
  #     dpid.o:/build/dillo-3.0.5/dpid/dpid.h:64: first defined here
  env.NIX_CFLAGS_COMPILE = "-fcommon";

  # The start_page and home settings refer to /usr.
  # We can't change /usr to $out because dillorc is copied to the home directory
  # on first launch, so the paths would quickly become outdated.
  # So we just comment them out, and let dillong use the defaults.
  postPatch = ''
    substituteInPlace dillorc \
      --replace "start_page=" "#start_page=" \
      --replace "home=" "#home="
  '';

  meta = {
    homepage = "https://github.com/w00fpack/dilloNG";
    description = "Fork of Dillo, a lightweight web browser";
    license = lib.licenses.gpl3Plus;
    mainProgram = "dillo";
    maintainers = with lib.maintainers; [ fgaz ];
    platforms = lib.platforms.linux;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -341,6 +341,7 @@ mapAliases {
  dgsh = throw "'dgsh' has been removed, as it was broken and unmaintained"; # added 2024-05-09
  dhcp = throw "dhcp (ISC DHCP) has been removed from nixpkgs, because it reached its end of life"; # Added 2023-04-04
  dibbler = throw "dibbler was removed because it is not maintained anymore"; # Added 2024-05-14
  dillong = throw "'dillong' has been removed, as upstream is abandoned since 2021-12-13. Use either 'dillo' or 'dillo-plus'. The latter integrates features from dillong."; # Added 2024-10-07
  dnnl = oneDNN; # Added 2020-04-22
  dnscrypt-wrapper = throw "dnscrypt-wrapper was removed because it has been effectively unmaintained since 2018. Use DNSCcrypt support in dnsdist instead"; # Added 2024-09-14
  docker-compose_1 = throw "'docker-compose_1' has been removed because it has been unmaintained since May 2021. Use docker-compose instead."; # Added 2024-07-29