36 lines
1,021 B
Nix
36 lines
1,021 B
Nix
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
name = "errbot-${version}";
|
|
version = "4.3.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://pypi/e/errbot/${name}.tar.gz";
|
|
sha256 = "1z6xcm8jx22i56gpcrjym85a82swvaxh09zkryd5pdksi6k41rb4";
|
|
};
|
|
|
|
disabled = !pythonPackages.isPy3k;
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.py \
|
|
--replace dnspython3 dnspython
|
|
'';
|
|
|
|
# tests folder is not included in release
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
webtest bottle threadpool rocket-errbot requests jinja2
|
|
pyopenssl colorlog Yapsy markdown ansi pygments dns pep8
|
|
daemonize pygments-markdown-lexer telegram irc slackclient
|
|
sleekxmpp hypchat pytest
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Chatbot designed to be simple to extend with plugins written in Python";
|
|
homepage = http://errbot.io/;
|
|
maintainers = with maintainers; [ fpletz globin ];
|
|
license = licenses.gpl3;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|