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

37 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}";
2016-09-28 19:26:47 +02:00
version = "4.3.3";
2016-07-01 16:04:01 +02:00
src = fetchurl {
url = "mirror://pypi/e/errbot/${name}.tar.gz";
2016-09-28 19:26:47 +02:00
sha256 = "1z6xcm8jx22i56gpcrjym85a82swvaxh09zkryd5pdksi6k41rb4";
2016-07-01 16:04:01 +02:00
};
disabled = !pythonPackages.isPy3k;
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
pyside 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;
};
}