sxhkd: move to tools/X11
After all, it isn't a window manager.
This commit is contained in:
parent
4ee04d0f1a
commit
dc872f38d2
3 changed files with 43 additions and 28 deletions
|
@ -1,27 +0,0 @@
|
|||
{ lib, stdenv, fetchFromGitHub, asciidoc, libxcb, xcbutil, xcbutilkeysyms
|
||||
, xcbutilwm
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sxhkd";
|
||||
version = "0.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "baskerville";
|
||||
repo = "sxhkd";
|
||||
rev = version;
|
||||
sha256 = "1winwzdy9yxvxnrv8gqpigl9y0c2px27mnms62bdilp4x6llrs9r";
|
||||
};
|
||||
|
||||
buildInputs = [ asciidoc 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 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
42
pkgs/tools/X11/sxhkd/default.nix
Normal file
42
pkgs/tools/X11/sxhkd/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
})
|
|
@ -31031,7 +31031,7 @@ with pkgs;
|
|||
|
||||
sndpeek = callPackage ../applications/audio/sndpeek { };
|
||||
|
||||
sxhkd = callPackage ../applications/window-managers/sxhkd { };
|
||||
sxhkd = callPackage ../tools/X11/sxhkd { };
|
||||
|
||||
mpop = callPackage ../applications/networking/mpop {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
|
|
Loading…
Reference in a new issue