Merge pull request #118888 from dotlambda/urwid-readline-0.13

This commit is contained in:
Sandro 2021-04-13 02:05:37 +02:00 committed by GitHub
commit 7289645071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 2 deletions

View File

@ -8,11 +8,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "urwid_readline"; pname = "urwid_readline";
version = "0.12"; version = "0.13";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "f7384e03017c3fb07bfba0d829d70287793326d9f6dac145dd09e0d693d7bf9c"; sha256 = "sha256-AYAgy8hku17Ye+F9wmsGnq4nVcsp86nFaarDve0e+vQ=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

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";