···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+}