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