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

39 lines
1 KiB
Nix
Raw Normal View History

2016-07-01 16:04:01 +02:00
{ stdenv, fetchurl, pythonPackages }:
2016-09-12 19:55:08 +02:00
pythonPackages.buildPythonApplication rec {
2016-07-01 16:04:01 +02:00
name = "errbot-${version}";
2017-08-28 01:56:16 +02:00
version = "5.1.2";
2016-07-01 16:04:01 +02:00
src = fetchurl {
url = "mirror://pypi/e/errbot/${name}.tar.gz";
2017-08-28 01:56:16 +02:00
sha256 = "1r9w7pmdw77h1hwxns6d0sdg8cndsq1lwkq0y5qiiqr91jz93ajm";
2016-07-01 16:04:01 +02:00
};
disabled = !pythonPackages.isPy3k;
2017-08-28 01:56:16 +02:00
LC_ALL = "en_US.utf8";
2016-09-28 19:26:47 +02:00
postPatch = ''
substituteInPlace setup.py \
--replace dnspython3 dnspython
'';
2016-07-01 16:04:01 +02:00
2016-09-28 19:26:47 +02:00
# tests folder is not included in release
doCheck = false;
2016-07-01 16:04:01 +02:00
propagatedBuildInputs = with pythonPackages; [
webtest bottle threadpool rocket-errbot requests jinja2
2016-07-01 16:04:01 +02:00
pyopenssl colorlog Yapsy markdown ansi pygments dns pep8
daemonize pygments-markdown-lexer telegram irc slackclient
2016-11-29 21:14:23 +01:00
sleekxmpp hypchat pytest
2016-07-01 16:04:01 +02: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 19:26:47 +02:00
maintainers = with maintainers; [ fpletz globin ];
2016-07-01 16:04:01 +02:00
license = licenses.gpl3;
platforms = platforms.unix;
};
}