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
|
2013-01-22 11:58:18 +00:00
|
|
|
, pythonPackages, cacert, cmake, makeWrapper }:
|
2010-08-05 16:47:15 +01:00
|
|
|
|
2012-06-01 23:04:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2013-06-12 12:11:22 +01:00
|
|
|
version = "0.4.1";
|
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";
|
2013-06-12 12:11:22 +01:00
|
|
|
sha256 = "0gsn0mp921j7jpvrxc74h0gs0bn0w808j2zqghm1w7xbjw9hl49w";
|
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
|
2013-01-22 11:58:18 +00:00
|
|
|
cacert cmake
|
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
|
|
|
|