Files
nixpkgs/pkgs/development/python-modules/rocketchat-api/default.nix
2025-08-19 13:55:17 +00:00

46 lines
929 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
packaging,
requests,
}:
buildPythonPackage rec {
pname = "rocketchat-api";
version = "1.35.2";
pyproject = true;
src = fetchFromGitHub {
owner = "jadolg";
repo = "rocketchat_API";
tag = version;
hash = "sha256-U5r7SKCKneBgCSwCJRm+Tl/wPmMOrj93K5VVCO/OPCk=";
};
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 ];
};
}