biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / zulip / default.nix
blobd5bec61a0c0f582577234e0d3b767e01abafaf84
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   setuptools,
7   requests,
8   distro,
9   click,
10   typing-extensions,
11   matrix-nio,
12   pytestCheckHook,
15 buildPythonPackage rec {
16   pname = "zulip";
17   version = "0.9.0";
19   disabled = pythonOlder "3.8";
21   pyproject = true;
23   # no sdist on PyPI
24   src = fetchFromGitHub {
25     owner = "zulip";
26     repo = "python-zulip-api";
27     rev = version;
28     hash = "sha256-YnNXduZ2KOjRHGwhojkqpMP2mwhflk8/f4FVZL8NvHU=";
29   };
30   sourceRoot = "${src.name}/zulip";
32   nativeBuildInputs = [ setuptools ];
34   propagatedBuildInputs = [
35     requests
36     distro
37     click
38     typing-extensions
39   ] ++ requests.optional-dependencies.security;
41   nativeCheckInputs = [
42     matrix-nio
43     pytestCheckHook
44   ];
46   pythonImportsCheck = [ "zulip" ];
48   meta = with lib; {
49     description = "Bindings for the Zulip message API";
50     homepage = "https://github.com/zulip/python-zulip-api";
51     license = licenses.asl20;
52     maintainers = with maintainers; [ dotlambda ];
53   };