3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/errbot/default.nix

40 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pythonPackages, glibcLocales }:
2016-07-01 15:04:01 +01:00
2016-09-12 18:55:08 +01:00
pythonPackages.buildPythonApplication rec {
2016-07-01 15:04:01 +01:00
name = "errbot-${version}";
2017-08-28 00:56:16 +01:00
version = "5.1.2";
2016-07-01 15:04:01 +01:00
src = fetchurl {
url = "mirror://pypi/e/errbot/${name}.tar.gz";
2017-08-28 00:56:16 +01:00
sha256 = "1r9w7pmdw77h1hwxns6d0sdg8cndsq1lwkq0y5qiiqr91jz93ajm";
2016-07-01 15:04:01 +01:00
};
disabled = !pythonPackages.isPy3k;
2017-08-28 00:56:16 +01:00
LC_ALL = "en_US.utf8";
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
buildInputs = [ glibcLocales ];
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;
};
}