Skip to content

Commit

Permalink
matrix-synapse.tools.synadm: 0.38 -> 0.40
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Mar 17, 2023
1 parent 435d253 commit 18c9089
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions pkgs/servers/matrix-synapse/tools/synadm.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 18c9089

Please sign in to comment.