clashmi: drop
This commit is contained in:
@@ -1,83 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
autoPatchelfHook,
|
||||
dpkg,
|
||||
atk,
|
||||
cairo,
|
||||
curlMinimal,
|
||||
fontconfig,
|
||||
gdk-pixbuf,
|
||||
glib,
|
||||
gobject-introspection,
|
||||
gtk3,
|
||||
harfbuzz,
|
||||
keybinder3,
|
||||
libayatana-appindicator,
|
||||
libepoxy,
|
||||
libsecret,
|
||||
pango,
|
||||
zlib,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "clashmi";
|
||||
version = "1.0.16.204";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/KaringX/clashmi/releases/download/v${finalAttrs.version}/clashmi_${finalAttrs.version}_linux_amd64.deb";
|
||||
hash = "sha256-IOCrk4dl9BYf8rzhgXmRAaFP4pzsJMx6i2zTg/NpOCQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
dpkg
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
atk
|
||||
cairo
|
||||
curlMinimal
|
||||
fontconfig
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gobject-introspection
|
||||
gtk3
|
||||
harfbuzz
|
||||
keybinder3
|
||||
(lib.getLib stdenv.cc.cc)
|
||||
libayatana-appindicator
|
||||
libepoxy
|
||||
libsecret
|
||||
pango
|
||||
zlib
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
cp --recursive usr $out
|
||||
mkdir $out/bin
|
||||
ln --symbolic $out/share/clashmi/clashmi $out/bin/clashmi
|
||||
ln --symbolic $out/share/clashmi/clashmiService $out/bin/clashmiService
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/KaringX/clashmi/releases/tag/v${finalAttrs.version}";
|
||||
description = "mihomo (clash.meta) graphical user interface based on Flutter";
|
||||
homepage = "https://github.com/KaringX/clashmi";
|
||||
license = with lib.licenses; [
|
||||
gpl3Plus
|
||||
unfree
|
||||
];
|
||||
mainProgram = "clashmi";
|
||||
maintainers = with lib.maintainers; [ qzylinra ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
})
|
||||
@@ -471,6 +471,7 @@ mapAliases {
|
||||
clang_15 = throw "clang_15 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-12
|
||||
clang_16 = throw "clang_16 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09
|
||||
clang_17 = throw "clang_17 has been removed, as it is unmaintained and obsolete"; # Added 2025-08-09
|
||||
clashmi = throw "'clashmi' has been removed, as it is unmaintained"; # Added 2026-01-31
|
||||
clasp = throw "'clasp' has been renamed to/replaced by 'clingo'"; # Converted to throw 2025-10-27
|
||||
cli-visualizer = throw "'cli-visualizer' has been removed as the upstream repository is gone"; # Added 2025-06-05
|
||||
clima = throw "'clima' has been removed, as it has been unmaintained upstream since December 2024, use glow instead"; # Added 2026-01-01
|
||||
|
||||
Reference in New Issue
Block a user