1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/applications/networking/errbot/default.nix

42 lines
1.2 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}";
2018-01-16 20:52:18 +00:00
version = "5.1.3";
2016-07-01 15:04:01 +01:00
src = fetchurl {
url = "mirror://pypi/e/errbot/${name}.tar.gz";
2018-01-16 20:52:18 +00:00
sha256 = "0nkfq6fx87g7kvxrb5lp8gkb75658cmyffnacpy8jq3a16py3jrr";
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 \
--replace 'cryptography<2.1.0' cryptography \
--replace 'pyOpenSSL<17.3.0' pyOpenSSL
2016-09-28 18:26:47 +01:00
'';
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
pyopenssl colorlog Yapsy markdown ansi pygments dnspython pep8
2016-07-01 15:04:01 +01:00
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;
};
}