Merge pull request #332686 from dotlambda/python3Packages.rocketchat-api
home-assistant: support rocketchat component
This commit is contained in:
commit
9d18a2f66b
44
pkgs/development/python-modules/rocketchat-api/default.nix
Normal file
44
pkgs/development/python-modules/rocketchat-api/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
packaging,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rocketchat-api";
|
||||
version = "1.32.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jadolg";
|
||||
repo = "rocketchat_API";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-mzcesoBU8sOznAgvi2u8NsUheyLXPZuyIkGghbc556c=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
packaging
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rocketchat_API"
|
||||
"rocketchat_API.APIExceptions"
|
||||
"rocketchat_API.APISections"
|
||||
];
|
||||
|
||||
# requires running a Rocket.Chat server
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Python API wrapper for Rocket.Chat";
|
||||
homepage = "https://github.com/jadolg/rocketchat_API";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -3758,7 +3758,8 @@
|
||||
vacuum-map-parser-roborock
|
||||
];
|
||||
"rocketchat" = ps: with ps; [
|
||||
]; # missing inputs: rocketchat-API
|
||||
rocketchat-api
|
||||
];
|
||||
"roku" = ps: with ps; [
|
||||
rokuecp
|
||||
];
|
||||
|
@ -13764,6 +13764,8 @@ self: super: with self; {
|
||||
|
||||
rocket-errbot = callPackage ../development/python-modules/rocket-errbot { };
|
||||
|
||||
rocketchat-api = callPackage ../development/python-modules/rocketchat-api { };
|
||||
|
||||
roku = callPackage ../development/python-modules/roku { };
|
||||
|
||||
rokuecp = callPackage ../development/python-modules/rokuecp { };
|
||||
|
Loading…
Reference in New Issue
Block a user