1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-01 05:19:17 +03:00
nixpkgs/pkgs/development/python-modules/zulip/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
884 B
Nix
Raw Normal View History

2020-09-12 00:52:12 +02:00
{ lib
, buildPythonPackage
2022-04-17 17:55:16 +00:00
, pythonOlder
2020-09-12 00:52:12 +02:00
, fetchFromGitHub
, requests
, matrix-client
, distro
2021-11-13 20:38:49 -08:00
, click
2022-04-17 17:55:16 +00:00
, typing-extensions
2021-04-09 11:03:29 +02:00
, pytestCheckHook
2020-09-12 00:52:12 +02:00
}:
buildPythonPackage rec {
pname = "zulip";
2022-04-17 17:55:16 +00:00
version = "0.8.2";
2020-09-12 00:52:12 +02:00
2022-04-17 17:55:16 +00:00
disabled = pythonOlder "3.6";
2020-09-12 00:52:12 +02:00
# no sdist on PyPI
src = fetchFromGitHub {
owner = "zulip";
repo = "python-zulip-api";
rev = version;
2022-04-17 17:55:16 +00:00
hash = "sha256-Z5WrV/RDQwdKUBF86M5/xWhXn3fGNqJtqO5PTd7s5ME=";
2020-09-12 00:52:12 +02:00
};
2021-11-13 20:38:49 -08:00
sourceRoot = "${src.name}/zulip";
2020-09-12 00:52:12 +02:00
propagatedBuildInputs = [
requests
matrix-client
distro
2021-11-13 20:38:49 -08:00
click
2022-04-17 17:55:16 +00:00
typing-extensions
2021-04-09 11:03:29 +02:00
];
checkInputs = [
pytestCheckHook
2020-09-12 00:52:12 +02:00
];
2021-04-09 11:03:29 +02:00
pythonImportsCheck = [ "zulip" ];
2020-09-12 00:52:12 +02:00
meta = with lib; {
description = "Bindings for the Zulip message API";
homepage = "https://github.com/zulip/python-zulip-api";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}