c8b16f172a
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
33 lines
1 KiB
Nix
33 lines
1 KiB
Nix
{ stdenv, fetchurl, ncurses, openssl, perl, python, aspell, gnutls
|
|
, zlib, curl , pkgconfig, libgcrypt, ruby, lua5, tcl, guile
|
|
, pythonPackages, cacert, cmake, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.4.2";
|
|
name = "weechat-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://weechat.org/files/src/${name}.tar.gz";
|
|
sha256 = "03ypji34kb5yrxqyn8dbrjm3j00pc8v7wfsip7d3l63nyx79df9v";
|
|
};
|
|
|
|
buildInputs =
|
|
[ ncurses perl python openssl aspell gnutls zlib curl pkgconfig
|
|
libgcrypt ruby lua5 tcl guile pythonPackages.pycrypto makeWrapper
|
|
cacert cmake
|
|
];
|
|
|
|
postInstall = ''
|
|
wrapProgram "$out/bin/weechat" \
|
|
--prefix PYTHONPATH : "$PYTHONPATH" \
|
|
--prefix PYTHONPATH : "$out/lib/${python.libPrefix}/site-packages"
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://www.weechat.org/;
|
|
description = "A fast, light and extensible chat client";
|
|
license = stdenv.lib.licenses.gpl3;
|
|
maintainers = with stdenv.lib.maintainers; [ garbas the-kenny ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|