Merge pull request #270349 from dotlambda/zulip-0.9.0
python311Packages.zulip: 0.8.2 -> 0.9.0
This commit is contained in:
commit
3ff9548c77
@ -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
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user