Merge pull request #270349 from dotlambda/zulip-0.9.0

python311Packages.zulip: 0.8.2 -> 0.9.0
This commit is contained in:
Robert Schütz 2023-12-05 00:26:02 +00:00 committed by GitHub
commit 3ff9548c77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,38 +2,46 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools
, requests
, matrix-client
, distro
, click
, typing-extensions
, matrix-nio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "zulip";
version = "0.8.2";
version = "0.9.0";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.8";
pyproject = true;
# no sdist on PyPI
src = fetchFromGitHub {
owner = "zulip";
repo = "python-zulip-api";
rev = version;
hash = "sha256-Z5WrV/RDQwdKUBF86M5/xWhXn3fGNqJtqO5PTd7s5ME=";
hash = "sha256-YnNXduZ2KOjRHGwhojkqpMP2mwhflk8/f4FVZL8NvHU=";
};
sourceRoot = "${src.name}/zulip";
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
requests
matrix-client
distro
click
typing-extensions
];
] ++ requests.optional-dependencies.security;
nativeCheckInputs = [
matrix-nio
pytestCheckHook
];