about summary refs log tree commit diff
path: root/pkgs/tools/X11
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-11-05 22:48:22 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-11-06 07:20:49 -0300
commit99f10b4ceb4c09f892db68abb8576b52a8c9a6aa (patch)
tree893628dbbf17c5b5c65f27aa27642035fa8f9d6f /pkgs/tools/X11
parent8beca974f9838ff727c949d373ea9e77f4a1ba79 (diff)
sxhkd: refactor
- migrate to by-name
- split outputs
- add meta.mainProgram
Diffstat (limited to 'pkgs/tools/X11')
-rw-r--r--pkgs/tools/X11/sxhkd/default.nix52
1 files changed, 0 insertions, 52 deletions
diff --git a/pkgs/tools/X11/sxhkd/default.nix b/pkgs/tools/X11/sxhkd/default.nix
deleted file mode 100644
index ab15c38168e27..0000000000000
--- a/pkgs/tools/X11/sxhkd/default.nix
+++ /dev/null
@@ -1,52 +0,0 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-, fetchpatch
-, asciidoc
-, libxcb
-, xcbutil
-, xcbutilkeysyms
-, xcbutilwm
-}:
-
-stdenv.mkDerivation (finalAttrs: {
-  pname = "sxhkd";
-  version = "0.6.2";
-
-  src = fetchFromGitHub {
-    owner = "baskerville";
-    repo = "sxhkd";
-    rev = finalAttrs.version;
-    hash = "sha256-OelMqenk0tiWMLraekS/ggGf6IsXP7Sz7bv75NvnNvI=";
-  };
-
-  patches = [
-    (fetchpatch {
-      # Fixes an issue with overlapping chords when using multiple keyboard layouts.
-      name = "sxhkd-mod5.patch";
-      url = "https://github.com/baskerville/sxhkd/pull/307/commits/35e64f1d7b54c97ccc02e84e278012dae9bc3941.patch";
-      hash = "sha256-bvXWEEITbHC/h0nXQx99SXjvkI/KO36XXNSa1O8KSY0=";
-    })
-  ];
-
-  nativeBuildInputs = [
-    asciidoc
-  ];
-
-  buildInputs = [
-    libxcb
-    xcbutil
-    xcbutilkeysyms
-    xcbutilwm
-  ];
-
-  makeFlags = [ "PREFIX=$(out)" ];
-
-  meta = with lib; {
-    description = "Simple X hotkey daemon";
-    homepage = "https://github.com/baskerville/sxhkd";
-    license = licenses.bsd2;
-    maintainers = with maintainers; [ vyp AndersonTorres ncfavier ];
-    platforms = platforms.linux;
-  };
-})