Diff: https://github.com/jadolg/rocketchat_API/compare/refs/tags/1.34.0...1.35.0 Changelog: https://github.com/jadolg/rocketchat_API/releases/tag/1.35.0
46 lines
929 B
Nix
46 lines
929 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
packaging,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rocketchat-api";
|
|
version = "1.35.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jadolg";
|
|
repo = "rocketchat_API";
|
|
tag = version;
|
|
hash = "sha256-lbYOsh+QiQdbASOyi2E/VAziI2LU7x9zSe1qHJdiQa4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
packaging
|
|
requests
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"rocketchat_API"
|
|
"rocketchat_API.APIExceptions"
|
|
"rocketchat_API.APISections"
|
|
];
|
|
|
|
# requires running a Rocket.Chat server
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/jadolg/rocketchat_API/releases/tag/${src.tag}";
|
|
description = "Python API wrapper for Rocket.Chat";
|
|
homepage = "https://github.com/jadolg/rocketchat_API";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|