2014-09-21 17:58:53 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, perl, autoconf, automake
|
|
|
|
, libX11, inputproto, libXt, libXpm, libXft, libXtst, xextproto, libXi
|
|
|
|
, fontconfig, freetype, readline
|
|
|
|
}:
|
2010-02-08 15:33:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-21 17:58:53 +00:00
|
|
|
name = "ratpoison-${version}";
|
|
|
|
version = "1.4.8";
|
2007-08-03 22:25:15 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-09-21 17:58:53 +00:00
|
|
|
url = "mirror://savannah/ratpoison/${name}.tar.xz";
|
|
|
|
sha256 = "1w502z55vv7zs45l80nsllqh9fvfwjfdfi11xy1qikhzdmirains";
|
2007-08-03 22:25:15 +00:00
|
|
|
};
|
|
|
|
|
2016-10-22 18:16:35 +00:00
|
|
|
outputs = [ "out" "contrib" "doc" "info" ];
|
|
|
|
|
2010-02-08 15:33:18 +00:00
|
|
|
buildInputs =
|
2014-09-21 17:58:53 +00:00
|
|
|
[ pkgconfig perl autoconf automake
|
|
|
|
libX11 inputproto libXt libXpm libXft libXtst xextproto libXi
|
|
|
|
fontconfig freetype readline ];
|
2010-02-08 15:33:18 +00:00
|
|
|
|
2016-10-22 18:16:35 +00:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $contrib/{bin,share}
|
|
|
|
mv $out/bin/rpws $contrib/bin
|
|
|
|
mv $out/share/ratpoison $contrib/share
|
|
|
|
'';
|
|
|
|
|
2014-09-21 17:58:53 +00:00
|
|
|
meta = with stdenv.lib; {
|
2012-07-09 05:11:10 +00:00
|
|
|
homepage = "http://www.nongnu.org/ratpoison/";
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "Simple mouse-free tiling window manager";
|
2014-09-21 17:58:53 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2010-02-08 15:33:18 +00:00
|
|
|
|
2012-07-09 05:11:10 +00:00
|
|
|
longDescription = ''
|
|
|
|
Ratpoison is a simple window manager with no fat library
|
|
|
|
dependencies, no fancy graphics, no window decorations, and no
|
|
|
|
rodent dependence. It is largely modelled after GNU Screen which
|
|
|
|
has done wonders in the virtual terminal market.
|
|
|
|
|
|
|
|
The screen can be split into non-overlapping frames. All windows
|
|
|
|
are kept maximized inside their frames to take full advantage of
|
|
|
|
your precious screen real estate.
|
|
|
|
|
|
|
|
All interaction with the window manager is done through keystrokes.
|
|
|
|
Ratpoison has a prefix map to minimize the key clobbering that
|
|
|
|
cripples Emacs and other quality pieces of software.
|
|
|
|
'';
|
2010-02-08 15:33:18 +00:00
|
|
|
|
2014-09-21 17:58:53 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2010-02-08 15:33:18 +00:00
|
|
|
};
|
2007-08-03 22:25:15 +00:00
|
|
|
}
|