2014-03-03 04:08:56 +00:00
|
|
|
{stdenv, fetchurl, xlibsWrapper, libXp, libXau}:
|
2005-12-02 22:49:51 +00:00
|
|
|
|
2015-09-15 09:02:10 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lesstif-0.95.2";
|
2005-12-02 22:49:51 +00:00
|
|
|
src = fetchurl {
|
2015-09-15 09:02:10 +01:00
|
|
|
url = "mirror://sourceforge/lesstif/${name}.tar.bz2";
|
2014-09-29 09:23:17 +01:00
|
|
|
sha256 = "1qzpxjjf7ri1jzv71mvq5m9g8hfaj5yzwp30rwxlm6n2b24a6jpb";
|
2005-12-02 22:49:51 +00:00
|
|
|
};
|
2014-03-03 04:08:56 +00:00
|
|
|
buildInputs = [xlibsWrapper];
|
2006-04-29 15:18:08 +01:00
|
|
|
propagatedBuildInputs = [libXp libXau];
|
2008-10-05 09:59:26 +01:00
|
|
|
|
2015-09-15 09:02:10 +01:00
|
|
|
# These patches fix a number of later issues - in particular the
|
2008-10-05 09:59:26 +01: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 19:01:03 +01:00
|
|
|
./c-missing_xm_h.patch
|
|
|
|
./c-render_table_crash.patch
|
2008-10-05 09:59:26 +01:00
|
|
|
./c-xpmpipethrough.patch
|
|
|
|
];
|
2016-08-02 17:06:29 +01:00
|
|
|
|
2018-10-17 19:01:03 +01: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 17:06:29 +01:00
|
|
|
};
|
2005-12-02 22:49:51 +00:00
|
|
|
}
|