2012-06-01 23:04:08 +01:00
|
|
|
{ stdenv, fetchurl, ncurses, openssl, perl, python, aspell, gnutls
|
2012-12-28 01:17:04 +00:00
|
|
|
, zlib, curl , pkgconfig, libgcrypt, ruby, lua5, tcl, guile
|
|
|
|
, pythonPackages, makeWrapper }:
|
2010-08-05 16:47:15 +01:00
|
|
|
|
2012-06-01 23:04:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-12-28 01:17:04 +00:00
|
|
|
version = "0.3.9.2";
|
2012-06-01 23:04:08 +01:00
|
|
|
name = "weechat-${version}";
|
2010-08-05 16:47:15 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-06-01 23:04:08 +01:00
|
|
|
url = "http://weechat.org/files/src/${name}.tar.gz";
|
2012-12-28 01:17:04 +00:00
|
|
|
sha256 = "114cffqwnrqx8r4dslz7sc4i4ky4akzh863rnzaw3dnn9ky9r503";
|
2010-08-05 16:47:15 +01:00
|
|
|
};
|
|
|
|
|
2012-06-01 23:04:08 +01:00
|
|
|
buildInputs =
|
|
|
|
[ ncurses perl python openssl aspell gnutls zlib curl pkgconfig
|
2012-12-28 01:17:04 +00:00
|
|
|
libgcrypt ruby lua5 tcl guile pythonPackages.pycrypto makeWrapper
|
2012-06-01 23:04:08 +01:00
|
|
|
];
|
2010-08-05 16:47:15 +01:00
|
|
|
|
2012-12-28 01:17:04 +00:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out/bin/weechat-curses" \
|
|
|
|
--prefix PYTHONPATH : "$PYTHONPATH" \
|
|
|
|
--prefix PYTHONPATH : "$out/lib/${python.libPrefix}/site-packages"
|
|
|
|
'';
|
|
|
|
|
2010-08-05 16:47:15 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://http://www.weechat.org/;
|
|
|
|
description = "A fast, light and extensible chat client";
|
2012-06-01 23:04:08 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.garbas ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-08-05 16:47:15 +01:00
|
|
|
};
|
|
|
|
}
|
2012-06-01 23:04:08 +01:00
|
|
|
|