2010-02-08 16:33:18 +01:00
|
|
|
{ stdenv, fetchurl, libX11, inputproto, libXt, libXpm, libXft, fontconfig
|
|
|
|
, libXtst, xextproto, readline, libXi, pkgconfig, autoconf, automake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-11-03 16:57:17 +01:00
|
|
|
name = "ratpoison-1.4.5";
|
2007-08-04 00:25:15 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-02-08 16:33:18 +01:00
|
|
|
url = "mirror://savannah/ratpoison/${name}.tar.gz";
|
2009-11-03 16:57:17 +01:00
|
|
|
sha256 = "7391079db20b8613eecfd81d64d243edc9d3c586750c8f2da2bb9db14d260f03";
|
2007-08-04 00:25:15 +02:00
|
|
|
};
|
|
|
|
|
2010-02-08 16:33:18 +01:00
|
|
|
patches =
|
|
|
|
[ (fetchurl {
|
|
|
|
url = "http://git.savannah.gnu.org/cgit/ratpoison.git/patch/?id=4ad0b38fb53506d613c4b4f7268dadfcedae9b8e";
|
2010-08-29 22:10:39 +02:00
|
|
|
sha256 = "118c5b481fa22b8fefbe34e3dbb157f621a3bf5de0c7beb540001c99ff403a5f";
|
2010-02-08 16:33:18 +01:00
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = "autoreconf -vf";
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ libX11 inputproto libXt
|
|
|
|
libXpm libXft fontconfig libXtst
|
|
|
|
xextproto readline libXi pkgconfig
|
|
|
|
autoconf automake # needed because of the patch above
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Ratpoison, a simple mouse-free tiling window manager";
|
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "GPLv2+";
|
|
|
|
|
|
|
|
homepage = http://www.nongnu.org/ratpoison/;
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
|
|
|
};
|
2007-08-04 00:25:15 +02:00
|
|
|
}
|
2010-02-08 16:33:18 +01:00
|
|
|
|