evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / rocketchat-api / default.nix
blobb5b527b2b402f332e0d9d2dfec61d91fa0433eca
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   packaging,
7   requests,
8 }:
10 buildPythonPackage rec {
11   pname = "rocketchat-api";
12   version = "1.33.0";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "jadolg";
17     repo = "rocketchat_API";
18     rev = "refs/tags/${version}";
19     hash = "sha256-t1t0uksmdPTrksDF0K3/f3KxAv0fX2W8wDIIcWAPEVs=";
20   };
22   build-system = [ setuptools ];
24   dependencies = [
25     packaging
26     requests
27   ];
29   pythonImportsCheck = [
30     "rocketchat_API"
31     "rocketchat_API.APIExceptions"
32     "rocketchat_API.APISections"
33   ];
35   # requires running a Rocket.Chat server
36   doCheck = false;
38   meta = {
39     description = "Python API wrapper for Rocket.Chat";
40     homepage = "https://github.com/jadolg/rocketchat_API";
41     license = lib.licenses.mit;
42     maintainers = with lib.maintainers; [ dotlambda ];
43   };