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

37 lines
1021 B
Nix
Raw Normal View History

2016-07-01 15:04:01 +01:00
{ stdenv, fetchurl, pythonPackages }:
2016-09-12 18:55:08 +01:00
pythonPackages.buildPythonApplication rec {
2016-07-01 15:04:01 +01:00
name = "errbot-${version}";
2016-09-28 18:26:47 +01:00
version = "4.3.3";
2016-07-01 15:04:01 +01:00
src = fetchurl {
url = "mirror://pypi/e/errbot/${name}.tar.gz";
2016-09-28 18:26:47 +01:00
sha256 = "1z6xcm8jx22i56gpcrjym85a82swvaxh09zkryd5pdksi6k41rb4";
2016-07-01 15:04:01 +01:00
};
disabled = !pythonPackages.isPy3k;
2016-09-28 18:26:47 +01:00
postPatch = ''
substituteInPlace setup.py \
--replace dnspython3 dnspython
'';
2016-07-01 15:04:01 +01:00
2016-09-28 18:26:47 +01:00
# tests folder is not included in release
doCheck = false;
2016-07-01 15:04:01 +01:00
propagatedBuildInputs = with pythonPackages; [
webtest bottle threadpool rocket-errbot requests jinja2
2016-07-01 15:04:01 +01: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 15:04:01 +01: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 18:26:47 +01:00
maintainers = with maintainers; [ fpletz globin ];
2016-07-01 15:04:01 +01:00
license = licenses.gpl3;
platforms = platforms.unix;
};
}