python3Packages.zulip: fix build

This commit is contained in:
Robert Schütz 2021-04-09 11:03:29 +02:00
parent 9dc49179e0
commit 1b0c015b91

View File

@ -5,6 +5,9 @@
, requests
, matrix-client
, distro
, cryptography
, pyopenssl
, pytestCheckHook
}:
buildPythonPackage rec {
@ -26,12 +29,22 @@ buildPythonPackage rec {
requests
matrix-client
distro
# from requests[security]
cryptography
pyopenssl
];
checkInputs = [
pytestCheckHook
];
preCheck = ''
export COLUMNS=80
'';
pythonImportsCheck = [ "zulip" ];
meta = with lib; {
description = "Bindings for the Zulip message API";
homepage = "https://github.com/zulip/python-zulip-api";