2014-03-03 04:08:56 +00:00
|
|
|
{stdenv, fetchurl, xlibsWrapper, libXp, libXau}:
|
2005-12-02 22:49:51 +00:00
|
|
|
|
2015-09-15 08:02:10 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lesstif-0.95.2";
|
2005-12-02 22:49:51 +00:00
|
|
|
src = fetchurl {
|
2015-09-15 08:02:10 +00:00
|
|
|
url = "mirror://sourceforge/lesstif/${name}.tar.bz2";
|
2014-09-29 08:23:17 +00:00
|
|
|
sha256 = "1qzpxjjf7ri1jzv71mvq5m9g8hfaj5yzwp30rwxlm6n2b24a6jpb";
|
2005-12-02 22:49:51 +00:00
|
|
|
};
|
2014-03-03 04:08:56 +00:00
|
|
|
buildInputs = [xlibsWrapper];
|
2006-04-29 14:18:08 +00:00
|
|
|
propagatedBuildInputs = [libXp libXau];
|
2008-10-05 08:59:26 +00:00
|
|
|
|
2015-09-15 08:02:10 +00:00
|
|
|
# These patches fix a number of later issues - in particular the
|
2008-10-05 08:59:26 +00:00
|
|
|
# render_table_crash shows up in 'arb'. The same patches appear
|
|
|
|
# in Debian, so we assume they have been sent upstream.
|
|
|
|
#
|
|
|
|
patches = [
|
2018-10-17 18:01:03 +00:00
|
|
|
./c-missing_xm_h.patch
|
|
|
|
./c-render_table_crash.patch
|
2008-10-05 08:59:26 +00:00
|
|
|
./c-xpmpipethrough.patch
|
|
|
|
];
|
2016-08-02 16:06:29 +00:00
|
|
|
|
2018-10-17 18:01:03 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An open source clone of the Motif widget set";
|
|
|
|
homepage = http://lesstif.sourceforge.net;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
2016-08-02 16:06:29 +00:00
|
|
|
};
|
2005-12-02 22:49:51 +00:00
|
|
|
}
|