2017-08-24 15:07:01 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2017-08-25 12:50:41 +01:00
|
|
|
, requests
|
2018-07-06 17:05:19 +01:00
|
|
|
, pytest, pytestrunner, responses
|
2017-08-24 15:07:01 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-07-06 17:05:19 +01:00
|
|
|
pname = "matrix_client";
|
|
|
|
version = "0.3.2";
|
2017-08-24 15:07:01 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-06 17:05:19 +01:00
|
|
|
sha256 = "1mgjd0ymf9mvqjkvgx3xjhxap7rzdmpa21wfy0cxbw2xcswcrqyw";
|
2017-08-24 15:07:01 +01:00
|
|
|
};
|
|
|
|
|
2018-07-06 17:05:19 +01:00
|
|
|
checkInputs = [ pytest pytestrunner responses ];
|
2017-08-24 15:07:01 +01:00
|
|
|
|
2017-08-25 12:50:41 +01:00
|
|
|
propagatedBuildInputs = [ requests ];
|
2017-08-24 15:07:01 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Matrix Client-Server SDK";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/matrix-org/matrix-python-sdk";
|
2017-08-24 15:07:01 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ olejorgenb ];
|
|
|
|
};
|
|
|
|
}
|