2014-03-03 05:08:56 +01:00
|
|
|
{stdenv, fetchurl, xlibsWrapper, libXp, libXau}:
|
2005-12-02 23:49:51 +01:00
|
|
|
|
2015-09-15 10:02:10 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lesstif-0.95.2";
|
2005-12-02 23:49:51 +01:00
|
|
|
src = fetchurl {
|
2015-09-15 10:02:10 +02:00
|
|
|
url = "mirror://sourceforge/lesstif/${name}.tar.bz2";
|
2014-09-29 10:23:17 +02:00
|
|
|
sha256 = "1qzpxjjf7ri1jzv71mvq5m9g8hfaj5yzwp30rwxlm6n2b24a6jpb";
|
2005-12-02 23:49:51 +01:00
|
|
|
};
|
2014-03-03 05:08:56 +01:00
|
|
|
buildInputs = [xlibsWrapper];
|
2006-04-29 16:18:08 +02:00
|
|
|
propagatedBuildInputs = [libXp libXau];
|
2008-10-05 10:59:26 +02:00
|
|
|
|
2015-09-15 10:02:10 +02:00
|
|
|
# These patches fix a number of later issues - in particular the
|
2008-10-05 10:59:26 +02: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 20:01:03 +02:00
|
|
|
./c-missing_xm_h.patch
|
|
|
|
./c-render_table_crash.patch
|
2008-10-05 10:59:26 +02:00
|
|
|
./c-xpmpipethrough.patch
|
|
|
|
];
|
2016-08-02 18:06:29 +02:00
|
|
|
|
2018-10-17 20:01:03 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An open source clone of the Motif widget set";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://lesstif.sourceforge.net";
|
2018-10-17 20:01:03 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = with licenses; [ gpl2 lgpl2 ];
|
2016-08-02 18:06:29 +02:00
|
|
|
};
|
2005-12-02 23:49:51 +01:00
|
|
|
}
|