2017-08-24 16:07:01 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2017-08-25 13:50:41 +02:00
|
|
|
, requests
|
2018-07-06 18:05:19 +02:00
|
|
|
, pytest, pytestrunner, responses
|
2017-08-24 16:07:01 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-07-06 18:05:19 +02:00
|
|
|
pname = "matrix_client";
|
|
|
|
version = "0.3.2";
|
2017-08-24 16:07:01 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-06 18:05:19 +02:00
|
|
|
sha256 = "1mgjd0ymf9mvqjkvgx3xjhxap7rzdmpa21wfy0cxbw2xcswcrqyw";
|
2017-08-24 16:07:01 +02:00
|
|
|
};
|
|
|
|
|
2018-07-06 18:05:19 +02:00
|
|
|
checkInputs = [ pytest pytestrunner responses ];
|
2017-08-24 16:07:01 +02:00
|
|
|
|
2017-08-25 13:50:41 +02:00
|
|
|
propagatedBuildInputs = [ requests ];
|
2017-08-24 16:07:01 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|