diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-06-23 00:32:22 +0200 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-06-23 00:32:22 +0200 |
commit | 6402b188ddd100b3cd6afe7b8a3e553365203f43 (patch) | |
tree | 676b85e4a6ffee092e413e723f7dce8ba01bb48f /nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix | |
parent | 5a1826585861b32ce2509c0643e793196d81893e (diff) | |
parent | d603719ec6e294f034936c0d0dc06f689d91b6c3 (diff) | |
download | nixlib-master.tar nixlib-master.tar.gz nixlib-master.tar.bz2 nixlib-master.tar.lz nixlib-master.tar.xz nixlib-master.tar.zst nixlib-master.zip |
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix | 96 |
1 files changed, 45 insertions, 51 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix b/nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix index 38daf62a635b..ce9aded24b3b 100644 --- a/nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix +++ b/nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix @@ -1,42 +1,43 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub +{ + lib, + buildPythonPackage, + fetchFromGitHub, -# build-system -, poetry-core + # build-system + poetry-core, -# dependencies -, aiofiles -, aiohttp -, aiohttp-socks -, h11 -, h2 -, jsonschema -, pycryptodome -, unpaddedbase64 + # dependencies + aiofiles, + aiohttp, + aiohttp-socks, + h11, + h2, + jsonschema, + pycryptodome, + unpaddedbase64, -# optional-dependencies -, atomicwrites -, cachetools -, peewee -, python-olm + # optional-dependencies + atomicwrites, + cachetools, + peewee, + python-olm, -# tests -, aioresponses -, faker -, hpack -, hyperframe -, hypothesis -, pytest-aiohttp -, pytest-benchmark -, pytestCheckHook + # tests + aioresponses, + faker, + hpack, + hyperframe, + hypothesis, + pytest-aiohttp, + pytest-benchmark, + pytestCheckHook, -# passthru tests -, nixosTests -, opsdroid -, pantalaimon -, weechatScripts -, zulip + # passthru tests + nixosTests, + opsdroid, + pantalaimon, + weechatScripts, + zulip, }: buildPythonPackage rec { @@ -51,9 +52,7 @@ buildPythonPackage rec { hash = "sha256-XlswVHLvKOi1qr+I7Mbm4IBjn1DG7glgDsNY48NA5Ew="; }; - nativeBuildInputs = [ - poetry-core - ]; + nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aiofiles @@ -86,9 +85,7 @@ buildPythonPackage rec { pytestCheckHook ] ++ passthru.optional-dependencies.e2e; - pytestFlagsArray = [ - "--benchmark-disable" - ]; + pytestFlagsArray = [ "--benchmark-disable" ]; disabledTests = [ # touches network @@ -103,22 +100,19 @@ buildPythonPackage rec { matrix-appservice-irc matrix-conduit mjolnir - ; - inherit (weechatScripts) - weechat-matrix - ; - inherit - opsdroid - pantalaimon - zulip - ; + ; + inherit (weechatScripts) weechat-matrix; + inherit opsdroid pantalaimon zulip; }; meta = with lib; { homepage = "https://github.com/poljar/matrix-nio"; changelog = "https://github.com/poljar/matrix-nio/blob/${version}/CHANGELOG.md"; - description = "A Python Matrix client library, designed according to sans I/O principles"; + description = "Python Matrix client library, designed according to sans I/O principles"; license = licenses.isc; - maintainers = with maintainers; [ tilpner emily symphorien ]; + maintainers = with maintainers; [ + tilpner + symphorien + ]; }; } |