summary refs log tree commit diff
path: root/pkgs/applications/editors/nedit/default.nix
blob: bd53f8d81d0808630d70ca83f177285b051bcad5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{stdenv, fetchurl, x11, motif, libXpm}:

assert stdenv.isLinux;

stdenv.mkDerivation {
  name = "nedit-5.5";
  builder = ./builder.sh;
  
  src = fetchurl {
    url = http://nl.nedit.org/ftp/v5_5/nedit-5.5-src.tar.bz2;
    md5 = "48cb3dce52d44988f3a4d7c6f47b6bbe";
  };
  patches = [./dynamic.patch];

  inherit motif;
  buildInputs = [x11 motif libXpm];

  buildFlags = if stdenv.isLinux then "linux" else "";

  meta = {
    homepage = http://www.nedit.org;
  };
}