1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, requests 5, tox, pytest, flake8, responses 6}: 7 8buildPythonPackage rec { 9 pname = "matrix-client"; 10 version = "0.0.6"; 11 name = "${pname}-${version}"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "15kx5px26hwr0sxpyjk4w61fjnabg1b57hwys1nyarc0jx4qjhiq"; 16 }; 17 18 checkInputs = [ tox pytest flake8 responses ]; 19 20 propagatedBuildInputs = [ requests ]; 21 22 checkPhase = '' 23 pytest 24 ''; 25 26 meta = with stdenv.lib; { 27 description = "Matrix Client-Server SDK"; 28 homepage = https://github.com/matrix-org/matrix-python-sdk; 29 license = licenses.asl20; 30 maintainers = with maintainers; [ olejorgenb ]; 31 }; 32}