diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-07-27 18:42:07 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-07-27 11:15:24 -0700 |
commit | d71d1915bf40fc6f81ed4f80618613f59b84c9a9 (patch) | |
tree | 84b61a69bca67df336ecb705e54625f1df317ef5 | |
parent | 93b1ba9a94d68c7960244345a395986f3fe1469b (diff) | |
download | nixlib-d71d1915bf40fc6f81ed4f80618613f59b84c9a9.tar nixlib-d71d1915bf40fc6f81ed4f80618613f59b84c9a9.tar.gz nixlib-d71d1915bf40fc6f81ed4f80618613f59b84c9a9.tar.bz2 nixlib-d71d1915bf40fc6f81ed4f80618613f59b84c9a9.tar.lz nixlib-d71d1915bf40fc6f81ed4f80618613f59b84c9a9.tar.xz nixlib-d71d1915bf40fc6f81ed4f80618613f59b84c9a9.tar.zst nixlib-d71d1915bf40fc6f81ed4f80618613f59b84c9a9.zip |
python3Packages.matrix-client: 0.3.2 -> 0.4.0
-rw-r--r-- | pkgs/development/python-modules/matrix-client/default.nix | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/matrix-client/default.nix b/pkgs/development/python-modules/matrix-client/default.nix index 354eace5047d..6605009b8fdd 100644 --- a/pkgs/development/python-modules/matrix-client/default.nix +++ b/pkgs/development/python-modules/matrix-client/default.nix @@ -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 ]; |