about summary refs log tree commit diff
path: root/pkgs/servers/matrix-synapse
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2023-12-14 17:00:58 +0100
committerGitHub <noreply@github.com>2023-12-14 17:00:58 +0100
commit3a360cf8a10d8987c7fb28e4a55239026c0dec98 (patch)
treebed1171b615a360ef9b75ff6783d137ec7421bb1 /pkgs/servers/matrix-synapse
parent706460f2c85cc100e4513943f63a98bfd149c6fa (diff)
parentee4176d3253108b764b76d42c9dd046cec503fde (diff)
downloadnixlib-3a360cf8a10d8987c7fb28e4a55239026c0dec98.tar
nixlib-3a360cf8a10d8987c7fb28e4a55239026c0dec98.tar.gz
nixlib-3a360cf8a10d8987c7fb28e4a55239026c0dec98.tar.bz2
nixlib-3a360cf8a10d8987c7fb28e4a55239026c0dec98.tar.lz
nixlib-3a360cf8a10d8987c7fb28e4a55239026c0dec98.tar.xz
nixlib-3a360cf8a10d8987c7fb28e4a55239026c0dec98.tar.zst
nixlib-3a360cf8a10d8987c7fb28e4a55239026c0dec98.zip
Merge pull request #274088 from NickCao/synapse
treewide: replace references to matrix-org/synapse with element-hq/synapse
Diffstat (limited to 'pkgs/servers/matrix-synapse')
-rw-r--r--pkgs/servers/matrix-synapse/default.nix10
-rw-r--r--pkgs/servers/matrix-synapse/tools/synadm.nix2
2 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/servers/matrix-synapse/default.nix b/pkgs/servers/matrix-synapse/default.nix
index a51ea5a9269c..95973c8bcae0 100644
--- a/pkgs/servers/matrix-synapse/default.nix
+++ b/pkgs/servers/matrix-synapse/default.nix
@@ -21,7 +21,7 @@ python3.pkgs.buildPythonApplication rec {
   format = "pyproject";
 
   src = fetchFromGitHub {
-    owner = "matrix-org";
+    owner = "element-hq";
     repo = "synapse";
     rev = "v${version}";
     hash = "sha256-irPExb8rwQjkPp0b3x5hJG4Ay6OnITWIGRPxBSoP/Dk=";
@@ -35,7 +35,7 @@ python3.pkgs.buildPythonApplication rec {
 
   postPatch = ''
     # Remove setuptools_rust from runtime dependencies
-    # https://github.com/matrix-org/synapse/blob/v1.69.0/pyproject.toml#L177-L185
+    # https://github.com/element-hq/synapse/blob/v1.69.0/pyproject.toml#L177-L185
     sed -i '/^setuptools_rust =/d' pyproject.toml
 
     # Remove version pin on build dependencies. Upstream does this on purpose to
@@ -149,7 +149,7 @@ python3.pkgs.buildPythonApplication rec {
 
     # high parallelisem makes test suite unstable
     # upstream uses 2 cores but 4 seems to be also stable
-    # https://github.com/matrix-org/synapse/blob/develop/.github/workflows/latest_deps.yml#L103
+    # https://github.com/element-hq/synapse/blob/develop/.github/workflows/latest_deps.yml#L103
     if (( $NIX_BUILD_CORES > 4)); then
       NIX_BUILD_CORES=4
     fi
@@ -167,9 +167,9 @@ python3.pkgs.buildPythonApplication rec {
 
   meta = with lib; {
     homepage = "https://matrix.org";
-    changelog = "https://github.com/matrix-org/synapse/releases/tag/v${version}";
+    changelog = "https://github.com/element-hq/synapse/releases/tag/v${version}";
     description = "Matrix reference homeserver";
-    license = licenses.asl20;
+    license = licenses.agpl3Plus;
     maintainers = teams.matrix.members;
   };
 }
diff --git a/pkgs/servers/matrix-synapse/tools/synadm.nix b/pkgs/servers/matrix-synapse/tools/synadm.nix
index 5ae3077060ca..6a297acff610 100644
--- a/pkgs/servers/matrix-synapse/tools/synadm.nix
+++ b/pkgs/servers/matrix-synapse/tools/synadm.nix
@@ -37,7 +37,7 @@ python3.pkgs.buildPythonApplication rec {
     longDescription = ''
       A CLI tool to help admins of Matrix Synapse homeservers
       conveniently issue commands available via its admin API's
-      (matrix-org/synapse@master/docs/admin_api)
+      (element-hq/synapse@master/docs/admin_api)
     '';
     changelog = "https://github.com/JOJ0/synadm/releases/tag/v${version}";
     homepage = "https://github.com/JOJ0/synadm";