xmonadctl: init at 0.17.0
This commit is contained in:
parent
6e6436963d
commit
4fe4be1b97
30
pkgs/applications/window-managers/xmonad/xmonadctl.nix
Normal file
30
pkgs/applications/window-managers/xmonad/xmonadctl.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, lib, fetchFromGitHub, ghcWithPackages, ... }:
|
||||
|
||||
let xmonadctlEnv = ghcWithPackages (self: [ self.xmonad-contrib self.X11 ]);
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "xmonadctl";
|
||||
version = "0.17.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xmonad";
|
||||
repo = "xmonad-contrib";
|
||||
rev = "v${version}";
|
||||
sha256 = "142ycg7dammq98drimv6xbih8dla9qindxds9fgkspmrrils3sar";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
${xmonadctlEnv}/bin/ghc -o $out/bin/xmonadctl \
|
||||
--make scripts/xmonadctl.hs
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
platforms = platforms.unix;
|
||||
description = "Send commands to a running instance of xmonad";
|
||||
homepage = "https://github.com/xmonad/xmonad-contrib";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.ajgrf ];
|
||||
};
|
||||
}
|
|
@ -31331,6 +31331,10 @@ with pkgs;
|
|||
packages = _: [ haskellPackages.xmonad-contrib ];
|
||||
};
|
||||
|
||||
xmonadctl = callPackage ../applications/window-managers/xmonad/xmonadctl.nix {
|
||||
inherit (haskellPackages) ghcWithPackages;
|
||||
};
|
||||
|
||||
xmonad_log_applet = callPackage ../applications/window-managers/xmonad/log-applet {
|
||||
inherit (xfce) libxfce4util xfce4-panel;
|
||||
};
|
||||
|
|
|
@ -257,6 +257,7 @@ let
|
|||
vaultenv
|
||||
wstunnel
|
||||
xmobar
|
||||
xmonadctl
|
||||
xmonad-with-packages
|
||||
yi
|
||||
zsh-git-prompt
|
||||
|
|
Loading…
Reference in a new issue