···11+{ stdenv, fetchurl, pkgconfig
22+, libpng, libjpeg
33+, libXext, libXft, libXpm, libXrandr, libXinerama }:
44+55+stdenv.mkDerivation rec {
66+77+ name = "pekwm-${version}";
88+ version = "0.1.17";
99+1010+ src = fetchurl {
1111+ url = "https://www.pekwm.org/projects/pekwm/files/${name}.tar.bz2";
1212+ sha256 = "003x6bxj1lb2ljxz3v414bn0rdl6z68c0r185fxwgs1qkyzx67wa";
1313+ };
1414+1515+ buildInputs = [ pkgconfig libpng libjpeg
1616+ libXext libXft libXpm libXrandr libXinerama ];
1717+1818+ meta = with stdenv.lib; {
1919+ description = "A lightweight window manager";
2020+ longDescription = ''
2121+ pekwm is a window manager that once upon a time was based on the
2222+ aewm++ window manager, but it has evolved enough that it no
2323+ longer resembles aewm++ at all. It has a much expanded
2424+ feature-set, including window grouping (similar to ion, pwm, or
2525+ fluxbox), autoproperties, xinerama, keygrabber that supports
2626+ keychains, and much more.
2727+ - Lightweight and Unobtrusive, a window manager shouldn't be
2828+ noticed.
2929+ - Very configurable, we all work and think in different ways.
3030+ - Automatic properties, for all the lazy people, make things
3131+ appear as they should when starting applications.
3232+ - Chainable Keygrabber, usability for everyone.
3333+ '';
3434+ homepage = https://www.pekwm.org;
3535+ license = licenses.gpl2;
3636+ maintainers = [ maintainers.AndersonTorres ];
3737+ platforms = platforms.linux;
3838+ };
3939+}