about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-06-23 00:32:22 +0200
committerAlyssa Ross <hi@alyssa.is>2024-06-23 00:32:22 +0200
commit6402b188ddd100b3cd6afe7b8a3e553365203f43 (patch)
tree676b85e4a6ffee092e413e723f7dce8ba01bb48f /nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix
parent5a1826585861b32ce2509c0643e793196d81893e (diff)
parentd603719ec6e294f034936c0d0dc06f689d91b6c3 (diff)
downloadnixlib-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
Merge remote-tracking branch 'nixpkgs/nixos-unstable' HEAD master
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/matrix-nio/default.nix96
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
+    ];
   };
 }