mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
ef4442e827
See f63eb58573
The `requests2` attribute now throws an error informing that `requests`
should be used instead.
37 lines
988 B
Nix
37 lines
988 B
Nix
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
name = "errbot-${version}";
|
|
version = "4.2.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://pypi/e/errbot/${name}.tar.gz";
|
|
sha256 = "1f1nw4m58dvmw0a37gbnihgdxxr3sz0l39653jigq9ysh3nznifv";
|
|
};
|
|
|
|
disabled = !pythonPackages.isPy3k;
|
|
|
|
patches = [
|
|
./fix-dnspython.patch
|
|
];
|
|
|
|
buildInputs = with pythonPackages; [
|
|
pep8 mock pytest pytest_xdist
|
|
];
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
webtest bottle threadpool rocket-errbot requests jinja2
|
|
pyopenssl colorlog Yapsy markdown ansi pygments dns pep8
|
|
daemonize pygments-markdown-lexer telegram irc slackclient
|
|
pyside sleekxmpp hypchat pytest
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Chatbot designed to be simple to extend with plugins written in Python";
|
|
homepage = http://errbot.io/;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
license = licenses.gpl3;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|