diff options
author | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-12-15 21:08:08 -0300 |
---|---|---|
committer | AndersonTorres <torres.anderson.85@protonmail.com> | 2022-12-17 00:13:38 -0300 |
commit | dc872f38d2d6ed14239c8c88a780f873eac7d8ac (patch) | |
tree | 273528f5433d3fb3cb9f411f7c7858704d440c5b /pkgs/tools/X11 | |
parent | 4ee04d0f1a9eeaa4732d67dc5a96f1c666cd4273 (diff) | |
download | nixpkgs-dc872f38d2d6ed14239c8c88a780f873eac7d8ac.tar nixpkgs-dc872f38d2d6ed14239c8c88a780f873eac7d8ac.tar.gz nixpkgs-dc872f38d2d6ed14239c8c88a780f873eac7d8ac.tar.bz2 nixpkgs-dc872f38d2d6ed14239c8c88a780f873eac7d8ac.tar.lz nixpkgs-dc872f38d2d6ed14239c8c88a780f873eac7d8ac.tar.xz nixpkgs-dc872f38d2d6ed14239c8c88a780f873eac7d8ac.tar.zst nixpkgs-dc872f38d2d6ed14239c8c88a780f873eac7d8ac.zip |
sxhkd: move to tools/X11
After all, it isn't a window manager.
Diffstat (limited to 'pkgs/tools/X11')
-rw-r--r-- | pkgs/tools/X11/sxhkd/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/tools/X11/sxhkd/default.nix b/pkgs/tools/X11/sxhkd/default.nix new file mode 100644 index 00000000000..50e82643ac2 --- /dev/null +++ b/pkgs/tools/X11/sxhkd/default.nix @@ -0,0 +1,42 @@ +{ lib +, stdenv +, fetchFromGitHub +, 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="; + }; + + 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 ]; + platforms = platforms.linux; + }; +}) |