2011-11-14 09:59:26 +00:00
|
|
|
{stdenv, fetchurl, which, tcl, tk, x11, libpng, libjpeg, makeWrapper}:
|
2006-07-22 12:34:58 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-11-14 09:59:26 +00:00
|
|
|
name = "amsn-0.98.4";
|
2006-07-22 12:34:58 +01:00
|
|
|
src = fetchurl {
|
2011-11-14 09:59:26 +00:00
|
|
|
url = mirror://sourceforge/amsn/amsn-0.98.4-src.tar.gz;
|
|
|
|
sha256 = "1kcn1hc6bvgy4svf5l3j5psdrvsmy0p3r33fn7gzcinqdf3xfgqx";
|
2006-07-22 12:34:58 +01:00
|
|
|
};
|
|
|
|
|
2011-11-14 09:59:26 +00:00
|
|
|
configureFlags = "--with-tcl=${tcl}/lib --with-tk=${tk}/lib --enable-static";
|
|
|
|
|
|
|
|
buildInputs = [which tcl tk x11 libpng libjpeg makeWrapper];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/amsn --prefix PATH : ${tk}/bin
|
|
|
|
'';
|
2008-01-30 19:49:42 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://amsn-project.net;
|
|
|
|
};
|
2006-07-22 12:34:58 +01:00
|
|
|
}
|