Unverified Commit c939a2ae authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

clash-geoip: drop (#349775)

parents 059871ff 470efda5
Loading
Loading
Loading
Loading
+0 −32
Original line number Diff line number Diff line
{ lib, stdenvNoCC, fetchurl, nix-update-script }:

stdenvNoCC.mkDerivation rec {
  pname = "clash-geoip";
  version = "20240912";

  src = fetchurl {
    url = "https://github.com/Dreamacro/maxmind-geoip/releases/download/${version}/Country.mmdb";
    sha256 = "sha256-3Cxq5vA53g7+LUgvSneuq7UBjdKppvcVy3fh/cOwDI8=";
  };

  dontUnpack = true;

  installPhase = ''
    runHook preInstall
    mkdir -p $out/etc/clash
    install -Dm 0644 $src -D $out/etc/clash/Country.mmdb
    runHook postInstall
  '';

  passthru = {
    updateScript = nix-update-script { };
  };

  meta = with lib; {
    description = "GeoLite2 data created by MaxMind";
    homepage = "https://github.com/Dreamacro/maxmind-geoip";
    license = licenses.unfree;
    maintainers = [ ];
    platforms = platforms.all;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -280,6 +280,7 @@ mapAliases {
  crossLibcStdenv = stdenvNoLibc; # Added 2024-09-06
  cryptowatch-desktop = throw "Cryptowatch Desktop was sunset on September 30th 2023 and has been removed from nixpkgs"; # Added 2023-12-22
  clash = throw "'clash' has been removed, upstream gone. Consider using 'mihomo' instead."; # added 2023-11-10
  clash-geoip = throw "'clash-geoip' has been removed. Consider using 'dbip-country-lite' instead."; # added 2024-10-19
  clash-verge = throw "'clash-verge' has been removed, as it was broken and unmaintained. Consider using 'clash-verge-rev' or 'clash-nyanpasu' instead"; # Added 2024-09-17
  clasp = clingo; # added 2022-12-22
  claws-mail-gtk3 = throw "'claws-mail-gtk3' has been renamed to/replaced by 'claws-mail'"; # Converted to throw 2024-10-17
+0 −2
Original line number Diff line number Diff line
@@ -4303,8 +4303,6 @@ with pkgs;
  map-cmd = callPackage ../tools/misc/map { };
  clash-geoip = callPackage ../data/misc/clash-geoip { };
  clevercsv = with python3Packages; toPythonApplication clevercsv;
  cli53 = callPackage ../tools/admin/cli53 { };