1{stdenv, fetchurl, xlibsWrapper, libXp, libXau}:
2
3stdenv.mkDerivation rec {
4 name = "lesstif-0.95.2";
5 src = fetchurl {
6 url = "mirror://sourceforge/lesstif/${name}.tar.bz2";
7 sha256 = "1qzpxjjf7ri1jzv71mvq5m9g8hfaj5yzwp30rwxlm6n2b24a6jpb";
8 };
9 buildInputs = [xlibsWrapper];
10 propagatedBuildInputs = [libXp libXau];
11
12 # These patches fix a number of later issues - in particular the
13 # render_table_crash shows up in 'arb'. The same patches appear
14 # in Debian, so we assume they have been sent upstream.
15 #
16 patches = [
17 ./c-missing_xm_h.patch
18 ./c-render_table_crash.patch
19 ./c-xpmpipethrough.patch
20 ];
21
22 meta = {
23 platforms = stdenv.lib.platforms.unix;
24 };
25}