nixpkgs/pkgs/applications/networking/errbot/default.nix

39 lines
1 KiB
Nix
Raw Normal View History

2016-07-01 14:04:01 +00:00
{ stdenv, fetchurl, pythonPackages }:
2016-09-12 17:55:08 +00:00
pythonPackages.buildPythonApplication rec {
2016-07-01 14:04:01 +00:00
name = "errbot-${version}";
2017-08-27 23:56:16 +00:00
version = "5.1.2";
2016-07-01 14:04:01 +00:00
src = fetchurl {
url = "mirror://pypi/e/errbot/${name}.tar.gz";
2017-08-27 23:56:16 +00:00
sha256 = "1r9w7pmdw77h1hwxns6d0sdg8cndsq1lwkq0y5qiiqr91jz93ajm";
2016-07-01 14:04:01 +00:00
};
disabled = !pythonPackages.isPy3k;
2017-08-27 23:56:16 +00:00
LC_ALL = "en_US.utf8";
2016-09-28 17:26:47 +00:00
postPatch = ''
substituteInPlace setup.py \
--replace dnspython3 dnspython
'';
2016-07-01 14:04:01 +00:00
2016-09-28 17:26:47 +00:00
# tests folder is not included in release
doCheck = false;
2016-07-01 14:04:01 +00:00
propagatedBuildInputs = with pythonPackages; [
webtest bottle threadpool rocket-errbot requests jinja2
2016-07-01 14:04:01 +00:00
pyopenssl colorlog Yapsy markdown ansi pygments dns pep8
daemonize pygments-markdown-lexer telegram irc slackclient
2016-11-29 20:14:23 +00:00
sleekxmpp hypchat pytest
2016-07-01 14:04:01 +00:00
];
meta = with stdenv.lib; {
description = "Chatbot designed to be simple to extend with plugins written in Python";
homepage = http://errbot.io/;
2016-09-28 17:26:47 +00:00
maintainers = with maintainers; [ fpletz globin ];
2016-07-01 14:04:01 +00:00
license = licenses.gpl3;
platforms = platforms.unix;
};
}