2015-09-15 09:13:22 +00:00
|
|
|
{stdenv, fetchurl, which, tcl, tk, xlibsWrapper, libpng, libjpeg, makeWrapper}:
|
2006-07-22 11:34:58 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-12-10 13:44:54 +00:00
|
|
|
name = "amsn-0.98.9";
|
2006-07-22 11:34:58 +00:00
|
|
|
src = fetchurl {
|
2013-12-10 13:44:54 +00:00
|
|
|
url = mirror://sourceforge/amsn/amsn-0.98.9-src.tar.gz;
|
|
|
|
sha256 = "0b8ir7spxnsz8f7kvr9f1k91nsy8cb65q6jv2l55b04fl20x4z7r";
|
2006-07-22 11:34:58 +00:00
|
|
|
};
|
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-tcl=${tcl}/lib"
|
|
|
|
"--with-tk=${tk}/lib"
|
|
|
|
"--enable-static"
|
|
|
|
];
|
2011-11-14 09:59:26 +00:00
|
|
|
|
2015-09-15 09:13:22 +00:00
|
|
|
buildInputs = [which tcl tk xlibsWrapper libpng libjpeg makeWrapper];
|
2011-11-14 09:59:26 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/amsn --prefix PATH : ${tk}/bin
|
|
|
|
'';
|
2008-01-30 19:49:42 +00:00
|
|
|
|
|
|
|
meta = {
|
2013-10-05 14:22:46 +00:00
|
|
|
description = "Instant messaging (MSN Messenger clone)";
|
2008-01-30 19:49:42 +00:00
|
|
|
homepage = http://amsn-project.net;
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2018-07-22 15:24:10 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2008-01-30 19:49:42 +00:00
|
|
|
};
|
2006-07-22 11:34:58 +00:00
|
|
|
}
|