From 13b44b351ed7ecc6d52b2490a418bb0d5751d139 Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 25 Aug 2024 06:10:50 +0100 Subject: [PATCH] python3Packages.mautrix: use `pyproject` --- pkgs/development/python-modules/mautrix/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/mautrix/default.nix b/pkgs/development/python-modules/mautrix/default.nix index 9895f64171841..a150c69466e89 100644 --- a/pkgs/development/python-modules/mautrix/default.nix +++ b/pkgs/development/python-modules/mautrix/default.nix @@ -4,6 +4,7 @@ fetchFromGitHub, pythonOlder, # deps + setuptools, aiohttp, attrs, yarl, @@ -23,7 +24,7 @@ buildPythonPackage rec { pname = "mautrix"; version = "0.20.6"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.10"; @@ -34,13 +35,15 @@ buildPythonPackage rec { hash = "sha256-g6y2u3ipSp5HoakHqd/ryPlyA+kR7zO6uY4AqfqbwiE="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ aiohttp attrs yarl ]; - passthru.optional-dependencies = { + optional-dependencies = { detect_mimetype = [ python-magic ]; encryption = [ python-olm