summary refs log tree commit diff
path: root/pkgs/development/python-modules/matrix-client/default.nix
blob: 354eace5047d209401b48e739f6a9174c59dbb04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, buildPythonPackage
, fetchPypi
, requests
, pytest, pytest-runner, responses
}:

buildPythonPackage rec {
  pname = "matrix_client";
  version = "0.3.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1mgjd0ymf9mvqjkvgx3xjhxap7rzdmpa21wfy0cxbw2xcswcrqyw";
  };

  checkInputs = [ pytest pytest-runner responses ];

  propagatedBuildInputs = [ requests ];

  meta = with lib; {
    description = "Matrix Client-Server SDK";
    homepage = "https://github.com/matrix-org/matrix-python-sdk";
    license = licenses.asl20;
    maintainers = with maintainers; [ olejorgenb ];
  };
}