diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-08-27 14:34:43 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-08-27 14:34:43 +0000 |
commit | 23fa25640d5c67092f50d9f1663f832f8ea70bfe (patch) | |
tree | 67404489680e3006c3f0e5ea8921dd07437c3402 /pkgs/applications/window-managers/yeahwm | |
parent | c901f337b8fed63ba0bb53674950ce4c7bf94dcd (diff) | |
parent | ea464f4b636ce1667e6e79b9f38707b730d93da3 (diff) | |
download | nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.tar nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.tar.gz nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.tar.bz2 nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.tar.lz nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.tar.xz nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.tar.zst nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.zip |
Merge branch 'upstream-merge' into master
Diffstat (limited to 'pkgs/applications/window-managers/yeahwm')
-rw-r--r-- | pkgs/applications/window-managers/yeahwm/default.nix | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/yeahwm/default.nix b/pkgs/applications/window-managers/yeahwm/default.nix new file mode 100644 index 00000000000..a8323ff1d38 --- /dev/null +++ b/pkgs/applications/window-managers/yeahwm/default.nix @@ -0,0 +1,58 @@ +{ stdenv, fetchurl +, lesstif +, libX11, libXext, libXmu, libXinerama }: + +stdenv.mkDerivation rec { + + pname = "yeahwm"; + version = "0.3.5"; + + src = fetchurl { + url = "http://phrat.de/${pname}_${version}.tar.gz"; + sha256 = "01gfzjvb40n16m2ja4238nk08k4l203y6a61cydqvf68924fjb69"; + }; + + buildInputs = [ lesstif libX11 libXext libXinerama libXmu ]; + + dontConfigure = true; + + preBuild = '' + makeFlagsArray+=( CC="${stdenv.cc}/bin/cc" \ + XROOT="${libX11}" \ + INCLUDES="-I${libX11.dev}/include -I${libXext.dev}/include -I${libXinerama.dev}/include -I${libXmu.dev}/include" \ + LDPATH="-L${libX11}/lib -L${libXext}/lib -L${libXinerama}/lib -L${libXmu}/lib" \ + prefix="${placeholder "out"}" ) + ''; + + postInstall = '' + gzip -9 --stdout yeahwm.1 > yeahwm.1.gz + install -m644 yeahwm.1.gz ${placeholder "out"}/share/man/man1/ + ''; + + meta = with stdenv.lib;{ + description = "An X window manager based on evilwm and aewm"; + longDescription = '' + YeahWM is a h* window manager for X based on evilwm and aewm. + + Features + - Sloppy Focus. + - BeOS-like tabbed titles, which can be repositioned. + - Support for Xinerama. + - Simple Appearance. + - Good keyboard control. + - Creative usage of the mouse. + - Respects aspect size hints. + - Solid resize and move operations. + - Virtual Desktops. + - "Magic" Screen edges for desktop switching. + - Snapping to other windows and screen borders when moving windows. + - Small binary size(ca. 23kb). + - Little resource usage. + - It's slick. + ''; + homepage = "http://phrat.de/index.html"; + license = licenses.isc; + maintainers = [ maintainers.AndersonTorres ]; + platforms = libX11.meta.platforms; + }; +} |