commit a4d99c12ac68b20a17afb55473866ff94d19d5ec
parent e7e1de357ad9d90a8818e05ea339a749bd4f4e04
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sat, 25 Apr 2026 13:22:38 +0400
Drop klogg
Diffstat:
2 files changed, 0 insertions(+), 146 deletions(-)
diff --git a/pkgs/by-name/kl/klogg-bin/package.nix b/pkgs/by-name/kl/klogg-bin/package.nix
@@ -1,82 +0,0 @@
-{
- lib,
- stdenv,
- fetchfromgh,
- appimageTools,
- undmg,
-}:
-let
- inherit (stdenv.hostPlatform) system;
- throwSystem = throw "Unsupported system: ${system}";
-
- pname = "klogg-bin";
- version = "22.06";
-
- suffix =
- {
- x86_64-linux = "Linux-amd64.AppImage";
- x86_64-darwin = "OSX-Qt5.dmg";
- }
- .${system} or throwSystem;
-
- src = fetchfromgh {
- owner = "variar";
- repo = "klogg";
- tag = "v${version}";
- name = "klogg-${version}.0.1289-${suffix}";
- hash =
- {
- x86_64-linux = "sha256-XawJ6VOF0XtMrl7iefm13quv83X171k9eKiXClrklZI=";
- x86_64-darwin = "sha256-5d93ItDYUYUt2cw0Sd1C0f7z507dqMINwEs4y4UrD+w=";
- }
- .${system} or throwSystem;
- };
-
- appimageContents = appimageTools.extract { inherit pname version src; };
-
- meta = {
- description = "A fast, advanced log explorer based on glogg project";
- homepage = "https://klogg.filimonov.dev/";
- license = lib.licenses.gpl3Plus;
- platforms = [
- "x86_64-linux"
- "x86_64-darwin"
- ];
- maintainers = [ lib.maintainers.sikmir ];
- skip.ci = true;
- };
-
- linux = appimageTools.wrapType2 rec {
- inherit
- pname
- version
- src
- meta
- ;
-
- extraInstallCommands = ''
- mv $out/bin/{${pname}-${version},klogg}
- install -Dm644 ${appimageContents}/klogg.desktop -t $out/share/applications
- install -Dm644 ${appimageContents}/klogg.png -t $out/share/icons/hicolor/scalable/apps
- '';
- };
-
- darwin = stdenv.mkDerivation {
- inherit
- pname
- version
- src
- meta
- ;
-
- nativeBuildInputs = [ undmg ];
-
- sourceRoot = ".";
-
- installPhase = ''
- mkdir -p $out/Applications
- cp -r *.app $out/Applications
- '';
- };
-in
-if stdenv.isDarwin then darwin else linux
diff --git a/pkgs/by-name/kl/klogg/package.nix b/pkgs/by-name/kl/klogg/package.nix
@@ -1,64 +0,0 @@
-{
- stdenv,
- lib,
- fetchFromGitHub,
- cmake,
- ninja,
- python3Packages,
- boost,
- ragel,
- useSentry ? stdenv.isLinux,
- useHyperscan ? false,
-}:
-
-stdenv.mkDerivation rec {
- pname = "klogg";
- version = "2021-09-27";
-
- __structuredAttrs = true;
-
- src = fetchFromGitHub {
- owner = "variar";
- repo = "klogg";
- rev = "9fade8bcf354fc6d329facbce07a6c29437597a1";
- hash = "sha256-bim/cDEOfMolHkrBLBEu94YI+1o1opdeA66xeovAwp0=";
- };
-
- nativeBuildInputs = [
- cmake
- ninja
- python3Packages.python
- ];
-
- buildInputs = [
- boost
- ragel
- ];
-
- postPatch = lib.optionalString useSentry ''
- patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
- --set-rpath "$out/lib:${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}" \
- 3rdparty/sentry/dump_syms/linux/dump_syms
- patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
- --set-rpath "$out/lib:${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}" \
- 3rdparty/sentry/dump_syms/linux/minidump_dump
- '';
-
- preConfigure = "export KLOGG_VERSION=${version}";
-
- NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=missing-braces";
-
- cmakeFlags = [
- (lib.cmakeBool "KLOGG_USE_SENTRY" useSentry)
- (lib.cmakeBool "KLOGG_USE_HYPERSCAN" useHyperscan)
- ];
-
- meta = {
- description = "A fast, advanced log explorer based on glogg project";
- homepage = "https://klogg.filimonov.dev/";
- license = lib.licenses.gpl3Plus;
- maintainers = [ lib.maintainers.sikmir ];
- platforms = lib.platforms.unix;
- broken = true;
- };
-}