python3Packages.matrix-client: 0.3.2 -> 0.4.0
This commit is contained in:
parent
93b1ba9a94
commit
d71d1915bf
|
@ -1,25 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, pytest, pytest-runner, responses
|
||||
, responses
|
||||
, urllib3
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "matrix_client";
|
||||
version = "0.3.2";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1mgjd0ymf9mvqjkvgx3xjhxap7rzdmpa21wfy0cxbw2xcswcrqyw";
|
||||
sha256 = "0mii7ib3bah5ppqs7i8sjv5l0zbl57011908m4l0jbyby90ayy06";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest pytest-runner responses ];
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
urllib3
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
responses
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace \
|
||||
"pytest-runner~=5.1" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "matrix_client" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Matrix Client-Server SDK";
|
||||
description = "Python Matrix Client-Server SDK";
|
||||
homepage = "https://github.com/matrix-org/matrix-python-sdk";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ olejorgenb ];
|
||||
|
|
Loading…
Reference in a new issue