about summary refs log tree commit diff
path: root/pkgs/tools/wayland/wlogout/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/wayland/wlogout/default.nix')
-rw-r--r--pkgs/tools/wayland/wlogout/default.nix65
1 files changed, 0 insertions, 65 deletions
diff --git a/pkgs/tools/wayland/wlogout/default.nix b/pkgs/tools/wayland/wlogout/default.nix
deleted file mode 100644
index 96cabcc38e87..000000000000
--- a/pkgs/tools/wayland/wlogout/default.nix
+++ /dev/null
@@ -1,65 +0,0 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-, pkg-config
-, meson
-, ninja
-, scdoc
-, gtk3
-, libxkbcommon
-, wayland
-, wayland-protocols
-, gtk-layer-shell
-# gtk-layer-shell fails to cross-compile due to a hard dependency
-# on gobject-introspection.
-# Disable it when cross-compiling since it's an optional dependency.
-# This disables transparency support.
-, withGtkLayerShell ? (stdenv.buildPlatform == stdenv.hostPlatform)
-}:
-
-stdenv.mkDerivation rec {
-  pname = "wlogout";
-  version = "1.2";
-
-  src = fetchFromGitHub {
-    owner = "ArtsyMacaw";
-    repo = "wlogout";
-    rev = version;
-    hash = "sha256-xeTO8MBUrvcVA7WTRY7OhaVGInijuvXsVYEax8JmMZ0=";
-  };
-
-  strictDeps = true;
-  depsBuildBuild = [ pkg-config ];
-  nativeBuildInputs = [ pkg-config meson ninja scdoc ];
-  buildInputs = [
-    gtk3
-    libxkbcommon
-    wayland
-    wayland-protocols
-  ] ++ lib.optionals withGtkLayerShell [
-    gtk-layer-shell
-  ];
-
-  postPatch = ''
-    substituteInPlace style.css \
-      --replace "/usr/share/wlogout" "$out/share/${pname}"
-
-    substituteInPlace main.c \
-      --replace "/etc/wlogout" "$out/etc/${pname}"
-  '';
-
-  mesonFlags = [
-    "--datadir=${placeholder "out"}/share"
-    "--sysconfdir=${placeholder "out"}/etc"
-  ];
-
-  meta = with lib; {
-    homepage = "https://github.com/ArtsyMacaw/wlogout";
-    description = "A wayland based logout menu";
-    license = licenses.mit;
-    maintainers = with maintainers; [ AndersonTorres ];
-    platforms = platforms.linux;
-    mainProgram = "wlogout";
-  };
-}
-# TODO: shell completions