1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 11:32:03 +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}";
version = "5.2.0";
2016-07-01 15:04:01 +01:00
src = fetchurl {
url = "mirror://pypi/e/errbot/${name}.tar.gz";
sha256 = "0q5fg113s3gnym38d4y5mlnxw6vrm388zw5mlapf7b2zgx34r053";
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;
};
}