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