Skip to content

Commit

Permalink
python3Packages.mautrix: use pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
emilazy committed Sep 1, 2024
1 parent 3524b03 commit 13b44b3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pkgs/development/python-modules/mautrix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
fetchFromGitHub,
pythonOlder,
# deps
setuptools,
aiohttp,
attrs,
yarl,
Expand All @@ -23,7 +24,7 @@
buildPythonPackage rec {
pname = "mautrix";
version = "0.20.6";
format = "setuptools";
pyproject = true;

disabled = pythonOlder "3.10";

Expand All @@ -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
Expand Down

0 comments on commit 13b44b3

Please sign in to comment.