Loading pkgs/by-name/cl/clash-verge-rev/package.nix +57 −10 Original line number Diff line number Diff line { lib , clash-verge , fetchurl { lib, autoPatchelfHook, clash-meta, dpkg, fetchurl, libayatana-appindicator, nix-update-script, openssl, stdenv, udev, webkitgtk, wrapGAppsHook3, }: clash-verge.overrideAttrs (old: rec { stdenv.mkDerivation (finalAttrs: { pname = "clash-verge-rev"; version = "1.6.6"; version = "1.7.2"; src = fetchurl { url = "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v${version}/clash-verge_${version}_amd64.deb"; hash = "sha256-x+Xkasg6Yzft5CLg2YFCRkgpDeiVvvdmcLjrg+oIOT8="; url = "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v${finalAttrs.version}/clash-verge_${finalAttrs.version}_amd64.deb"; hash = "sha256-AYWX2kfknhKZ7gmi50mu9VM3kz+Rufwpyt2QTyD4wUo="; }; meta = old.meta // (with lib; { nativeBuildInputs = [ dpkg wrapGAppsHook3 autoPatchelfHook ]; buildInputs = [ openssl webkitgtk ]; runtimeDependencies = [ (lib.getLib udev) libayatana-appindicator ]; installPhase = '' runHook preInstall mkdir -p $out/bin mv usr/* $out runHook postInstall ''; postFixup = '' rm -f $out/bin/verge-mihomo ln -sf ${lib.getExe clash-meta} $out/bin/verge-mihomo ''; passthru.updateScript = nix-update-script { }; meta = { description = "Clash GUI based on tauri"; homepage = "https://github.com/clash-verge-rev/clash-verge-rev"; maintainers = with maintainers; [ Guanran928 ]; }); license = lib.licenses.gpl3Plus; mainProgram = "clash-verge"; maintainers = with lib.maintainers; [ Guanran928 ]; platforms = [ "x86_64-linux" ]; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; }) Loading
pkgs/by-name/cl/clash-verge-rev/package.nix +57 −10 Original line number Diff line number Diff line { lib , clash-verge , fetchurl { lib, autoPatchelfHook, clash-meta, dpkg, fetchurl, libayatana-appindicator, nix-update-script, openssl, stdenv, udev, webkitgtk, wrapGAppsHook3, }: clash-verge.overrideAttrs (old: rec { stdenv.mkDerivation (finalAttrs: { pname = "clash-verge-rev"; version = "1.6.6"; version = "1.7.2"; src = fetchurl { url = "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v${version}/clash-verge_${version}_amd64.deb"; hash = "sha256-x+Xkasg6Yzft5CLg2YFCRkgpDeiVvvdmcLjrg+oIOT8="; url = "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v${finalAttrs.version}/clash-verge_${finalAttrs.version}_amd64.deb"; hash = "sha256-AYWX2kfknhKZ7gmi50mu9VM3kz+Rufwpyt2QTyD4wUo="; }; meta = old.meta // (with lib; { nativeBuildInputs = [ dpkg wrapGAppsHook3 autoPatchelfHook ]; buildInputs = [ openssl webkitgtk ]; runtimeDependencies = [ (lib.getLib udev) libayatana-appindicator ]; installPhase = '' runHook preInstall mkdir -p $out/bin mv usr/* $out runHook postInstall ''; postFixup = '' rm -f $out/bin/verge-mihomo ln -sf ${lib.getExe clash-meta} $out/bin/verge-mihomo ''; passthru.updateScript = nix-update-script { }; meta = { description = "Clash GUI based on tauri"; homepage = "https://github.com/clash-verge-rev/clash-verge-rev"; maintainers = with maintainers; [ Guanran928 ]; }); license = lib.licenses.gpl3Plus; mainProgram = "clash-verge"; maintainers = with lib.maintainers; [ Guanran928 ]; platforms = [ "x86_64-linux" ]; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; })