2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, pytest, pytestrunner, responses
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "matrix_client";
|
|
|
|
version = "0.3.2";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1mgjd0ymf9mvqjkvgx3xjhxap7rzdmpa21wfy0cxbw2xcswcrqyw";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest pytestrunner responses ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Matrix Client-Server SDK";
|
|
|
|
homepage = "https://github.com/matrix-org/matrix-python-sdk";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ olejorgenb ];
|
|
|
|
};
|
|
|
|
}
|