From 18c9089744ca00b1b00ff61a02cc43ad259c907e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 17 Mar 2023 13:02:13 +0000 Subject: [PATCH] matrix-synapse.tools.synadm: 0.38 -> 0.40 https://github.com/JOJ0/synadm/releases/tag/v0.39 https://github.com/JOJ0/synadm/releases/tag/v0.40 --- pkgs/servers/matrix-synapse/tools/synadm.nix | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/pkgs/servers/matrix-synapse/tools/synadm.nix b/pkgs/servers/matrix-synapse/tools/synadm.nix index 3fe9c33e8e24..73199c27383c 100644 --- a/pkgs/servers/matrix-synapse/tools/synadm.nix +++ b/pkgs/servers/matrix-synapse/tools/synadm.nix @@ -1,23 +1,18 @@ { lib -, python3Packages +, python3 }: -with python3Packages; buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "synadm"; - version = "0.38"; + version = "0.40"; format = "setuptools"; - src = fetchPypi { + src = python3.pkgs.fetchPypi { inherit pname version; - sha256 = "sha256-l1KRUnjzj1/MEb1nxV6hMaxi15q7baG+iiK2yatZYRc="; + hash = "sha256-iDG2wsC0820unKlKNDKwgCNC+SAWJm8ltSB4knmLqeQ="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace "Click>=7.0,<8.0" "Click" - ''; - - propagatedBuildInputs = [ + propagatedBuildInputs = with python3.pkgs; [ click click-option-group dnspython