sxhkd: refactor

- migrate to by-name
- split outputs
- add meta.mainProgram
This commit is contained in:
Anderson Torres
2023-11-06 07:20:49 -03:00
parent 8beca974f9
commit 99f10b4ceb
2 changed files with 9 additions and 6 deletions
@@ -29,6 +29,8 @@ stdenv.mkDerivation (finalAttrs: {
})
];
outputs = [ "out" "doc" "man" ];
nativeBuildInputs = [
asciidoc
];
@@ -40,13 +42,16 @@ stdenv.mkDerivation (finalAttrs: {
xcbutilwm
];
strictDeps = true;
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
meta = {
description = "Simple X hotkey daemon";
homepage = "https://github.com/baskerville/sxhkd";
license = licenses.bsd2;
maintainers = with maintainers; [ vyp AndersonTorres ncfavier ];
platforms = platforms.linux;
license = lib.licenses.bsd2;
mainProgram = "sxhkd";
maintainers = with lib.maintainers; [ vyp AndersonTorres ncfavier ];
inherit (libxcb.meta) platforms;
};
})
-2
View File
@@ -34289,8 +34289,6 @@ with pkgs;
sndpeek = callPackage ../applications/audio/sndpeek { };
sxhkd = callPackage ../tools/X11/sxhkd { };
mpop = callPackage ../applications/networking/mpop {
inherit (darwin.apple_sdk.frameworks) Security;
};