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