Merge pull request #169086 from dotlambda/zulip-0.8.2

python3Packages.zulip: 0.8.1 -> 0.8.2
This commit is contained in:
Fabian Affolter 2022-04-18 21:33:53 +02:00 committed by GitHub
commit e33fe968df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,28 +1,27 @@
{ lib
, buildPythonPackage
, isPy3k
, pythonOlder
, fetchFromGitHub
, requests
, matrix-client
, distro
, click
, cryptography
, pyopenssl
, typing-extensions
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "zulip";
version = "0.8.1";
version = "0.8.2";
disabled = !isPy3k;
disabled = pythonOlder "3.6";
# no sdist on PyPI
src = fetchFromGitHub {
owner = "zulip";
repo = "python-zulip-api";
rev = version;
sha256 = "sha256-vYeZEz8nuZYL1stHLa595IbhyNbqqxH4mx7ISbqRAlA=";
hash = "sha256-Z5WrV/RDQwdKUBF86M5/xWhXn3fGNqJtqO5PTd7s5ME=";
};
sourceRoot = "${src.name}/zulip";
@ -31,20 +30,13 @@ buildPythonPackage rec {
matrix-client
distro
click
# from requests[security]
cryptography
pyopenssl
typing-extensions
];
checkInputs = [
pytestCheckHook
];
preCheck = ''
export COLUMNS=80
'';
pythonImportsCheck = [ "zulip" ];
meta = with lib; {