mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
b2aef187a9
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/errbot/versions. These checks were done: - built on NixOS - /nix/store/gfvsdshvr4135r231wzcl2n5if66r0ws-errbot-5.2.0/bin/.errbot-wrapped passed the binary check. - /nix/store/gfvsdshvr4135r231wzcl2n5if66r0ws-errbot-5.2.0/bin/errbot passed the binary check. - 2 of 2 passed binary check by having a zero exit code. - 2 of 2 passed binary check by having the new version present in output. - found 5.2.0 with grep in /nix/store/gfvsdshvr4135r231wzcl2n5if66r0ws-errbot-5.2.0 - directory tree listing: https://gist.github.com/92be0fef2042d15212f373d23ed09bcf - du listing: https://gist.github.com/5ca847bd9354551d6e66ba1abc16d23f
42 lines
1.2 KiB
Nix
42 lines
1.2 KiB
Nix
{ stdenv, fetchurl, pythonPackages, glibcLocales }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
name = "errbot-${version}";
|
|
version = "5.2.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://pypi/e/errbot/${name}.tar.gz";
|
|
sha256 = "0q5fg113s3gnym38d4y5mlnxw6vrm388zw5mlapf7b2zgx34r053";
|
|
};
|
|
|
|
disabled = !pythonPackages.isPy3k;
|
|
|
|
LC_ALL = "en_US.utf8";
|
|
|
|
postPatch = ''
|
|
substituteInPlace setup.py \
|
|
--replace dnspython3 dnspython \
|
|
--replace 'cryptography<2.1.0' cryptography \
|
|
--replace 'pyOpenSSL<17.3.0' pyOpenSSL
|
|
'';
|
|
|
|
# tests folder is not included in release
|
|
doCheck = false;
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
webtest bottle threadpool rocket-errbot requests jinja2
|
|
pyopenssl colorlog Yapsy markdown ansi pygments dnspython pep8
|
|
daemonize pygments-markdown-lexer telegram irc slackclient
|
|
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 globin ];
|
|
license = licenses.gpl3;
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|