pekwm: init at 0.1.17

+67
+1
nixos/modules/services/x11/window-managers/default.nix
··· 19 19 ./jwm.nix 20 20 ./metacity.nix 21 21 ./openbox.nix 22 + ./pekwm.nix 22 23 ./notion.nix 23 24 ./ratpoison.nix 24 25 ./sawfish.nix
+25
nixos/modules/services/x11/window-managers/pekwm.nix
··· 1 + { config, lib, pkgs, ... }: 2 + 3 + with lib; 4 + 5 + let 6 + cfg = config.services.xserver.windowManager.pekwm; 7 + in 8 + { 9 + ###### interface 10 + options = { 11 + services.xserver.windowManager.pekwm.enable = mkEnableOption "pekwm"; 12 + }; 13 + 14 + ###### implementation 15 + config = mkIf cfg.enable { 16 + services.xserver.windowManager.session = singleton { 17 + name = "pekwm"; 18 + start = '' 19 + ${pkgs.pekwm}/bin/pekwm & 20 + waitPID=$! 21 + ''; 22 + }; 23 + environment.systemPackages = [ pkgs.pekwm ]; 24 + }; 25 + }
+39
pkgs/applications/window-managers/pekwm/default.nix
··· 1 + { stdenv, fetchurl, pkgconfig 2 + , libpng, libjpeg 3 + , libXext, libXft, libXpm, libXrandr, libXinerama }: 4 + 5 + stdenv.mkDerivation rec { 6 + 7 + name = "pekwm-${version}"; 8 + version = "0.1.17"; 9 + 10 + src = fetchurl { 11 + url = "https://www.pekwm.org/projects/pekwm/files/${name}.tar.bz2"; 12 + sha256 = "003x6bxj1lb2ljxz3v414bn0rdl6z68c0r185fxwgs1qkyzx67wa"; 13 + }; 14 + 15 + buildInputs = [ pkgconfig libpng libjpeg 16 + libXext libXft libXpm libXrandr libXinerama ]; 17 + 18 + meta = with stdenv.lib; { 19 + description = "A lightweight window manager"; 20 + longDescription = '' 21 + pekwm is a window manager that once upon a time was based on the 22 + aewm++ window manager, but it has evolved enough that it no 23 + longer resembles aewm++ at all. It has a much expanded 24 + feature-set, including window grouping (similar to ion, pwm, or 25 + fluxbox), autoproperties, xinerama, keygrabber that supports 26 + keychains, and much more. 27 + - Lightweight and Unobtrusive, a window manager shouldn't be 28 + noticed. 29 + - Very configurable, we all work and think in different ways. 30 + - Automatic properties, for all the lazy people, make things 31 + appear as they should when starting applications. 32 + - Chainable Keygrabber, usability for everyone. 33 + ''; 34 + homepage = https://www.pekwm.org; 35 + license = licenses.gpl2; 36 + maintainers = [ maintainers.AndersonTorres ]; 37 + platforms = platforms.linux; 38 + }; 39 + }
+2
pkgs/top-level/all-packages.nix
··· 13969 13969 13970 13970 pcsx2 = callPackage_i686 ../misc/emulators/pcsx2 { }; 13971 13971 13972 + pekwm = callPackage ../applications/window-managers/pekwm { }; 13973 + 13972 13974 pencil = callPackage ../applications/graphics/pencil { 13973 13975 xulrunner = firefox-unwrapped; 13974 13976 };