nixpkgs/pkgs/applications/networking/instant-messengers/amsn/default.nix

29 lines
742 B
Nix
Raw Normal View History

{stdenv, fetchurl, which, tcl, tk, xlibsWrapper, libpng, libjpeg, makeWrapper}:
stdenv.mkDerivation {
2013-12-10 13:44:54 +00:00
name = "amsn-0.98.9";
src = fetchurl {
2013-12-10 13:44:54 +00:00
url = mirror://sourceforge/amsn/amsn-0.98.9-src.tar.gz;
sha256 = "0b8ir7spxnsz8f7kvr9f1k91nsy8cb65q6jv2l55b04fl20x4z7r";
};
2018-07-25 22:44:21 +01:00
configureFlags = [
"--with-tcl=${tcl}/lib"
"--with-tk=${tk}/lib"
"--enable-static"
];
buildInputs = [which tcl tk xlibsWrapper libpng libjpeg makeWrapper];
postInstall = ''
wrapProgram $out/bin/amsn --prefix PATH : ${tk}/bin
'';
meta = {
description = "Instant messaging (MSN Messenger clone)";
homepage = http://amsn-project.net;
platforms = stdenv.lib.platforms.linux;
2018-07-22 16:24:10 +01:00
license = stdenv.lib.licenses.gpl2;
};
}