nixpkgs/pkgs/applications/window-managers/jwm/default.nix
Eelco Dolstra fcad0b0a5a * Cleaned up a lot of description fields that contained newlines.
Some of these should be longDescriptions, but most others just
  shouldn't contain newlines.  E.g. write

    description = "Bla";

  and not

    description = ''
      Bla
    '';

  This pollutes "nix-env -qa --description" output.

svn path=/nixpkgs/trunk/; revision=14310
2009-03-03 13:27:40 +00:00

19 lines
518 B
Nix

args: with args;
stdenv.mkDerivation {
name="jwm-2.0.1";
src = fetchurl {
url = http://www.joewing.net/programs/jwm/releases/jwm-2.0.1.tar.bz2;
sha256 = "1ix5y00cmg3cyazl0adzgv49140zxaf2dpngyg1dyy4ma6ysdmnw";
};
buildInputs = [libX11 libXext libXinerama libXpm libXft];
postInstall = ''
sed -i -e s/rxvt/xterm/g $out/etc/system.jwmrc
sed -i -e "s/.*Swallow.*\|.*xload.*//" $out/etc/system.jwmrc'';
meta = {
description = "A window manager for X11 that requires only Xlib";
};
}