Windowmaker: adding system service file, and a long description
Closes #4066
This commit is contained in:
parent
4d5336316c
commit
c6f28f988c
28
nixos/modules/services/x11/window-managers/windowmaker.nix
Normal file
28
nixos/modules/services/x11/window-managers/windowmaker.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.services.xserver.windowManager.windowmaker;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
###### interface
|
||||||
|
options = {
|
||||||
|
services.xserver.windowManager.windowmaker.enable = mkOption {
|
||||||
|
default = false;
|
||||||
|
description = "Enable the Windowmaker window manager.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
###### implementation
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
services.xserver.windowManager.session = singleton {
|
||||||
|
name = "windowmaker";
|
||||||
|
start = ''
|
||||||
|
${pkgs.windowmaker}/bin/wmaker &
|
||||||
|
waitPID=$!
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
environment.systemPackages = [ pkgs.windowmaker ];
|
||||||
|
};
|
||||||
|
}
|
@ -3,18 +3,27 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "windowmaker-${version}";
|
name = "windowmaker-${version}";
|
||||||
version = "0.95.5";
|
version = "0.95.5";
|
||||||
|
srcName = "WindowMaker-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://windowmaker.org/pub/source/release/"
|
url = "http://windowmaker.org/pub/source/release/${srcName}.tar.gz";
|
||||||
+ "WindowMaker-${version}.tar.gz";
|
|
||||||
sha256 = "1l3hmx4jzf6vp0zclqx9gsqrlwh4rvqm1g1zr5ha0cp0zmsg89ab";
|
sha256 = "1l3hmx4jzf6vp0zclqx9gsqrlwh4rvqm1g1zr5ha0cp0zmsg89ab";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig libX11 libXft libXmu ];
|
buildInputs = [ pkgconfig libX11 libXft libXmu ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://windowmaker.org/";
|
homepage = http://windowmaker.org/;
|
||||||
description = "NeXTSTEP-like window manager";
|
description = "NeXTSTEP-like window manager";
|
||||||
license = stdenv.lib.licenses.gpl2Plus;
|
longDescription = ''
|
||||||
|
Window Maker is an X11 window manager originally designed to
|
||||||
|
provide integration support for the GNUstep Desktop
|
||||||
|
Environment. In every way possible, it reproduces the elegant look
|
||||||
|
and feel of the NEXTSTEP user interface. It is fast, feature rich,
|
||||||
|
easy to configure, and easy to use. It is also free software, with
|
||||||
|
contributions being made by programmers from around the world.
|
||||||
|
'';
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = [ maintainers.AndersonTorres ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user