about summary refs log tree commit diff
path: root/overlays/dendrite.nix
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/dendrite.nix')
-rw-r--r--overlays/dendrite.nix59
1 files changed, 0 insertions, 59 deletions
diff --git a/overlays/dendrite.nix b/overlays/dendrite.nix
deleted file mode 100644
index 67b91bb..0000000
--- a/overlays/dendrite.nix
+++ /dev/null
@@ -1,59 +0,0 @@
-{ lib, buildGoModule, fetchFromGitHub
-, nixosTests, postgresql, postgresqlTestHook }:
-
-buildGoModule rec {
-  pname = "matrix-dendrite";
-  version = "0.12.0";
-
-  src = fetchFromGitHub {
-    owner = "matrix-org";
-    repo = "dendrite";
-    rev = "v${version}";
-    hash = "sha256-syOLrw4ig8rmFDkxJ9KSAuzUVO8UokekV17mT1bJNNM=";
-  };
-
-  vendorHash = "sha256-nvGhKCUiyHSD0VpE4OtT9YQSHxv0d7iwOChCJl2D3zk=";
-
-  subPackages = [
-    # The server
-    "cmd/dendrite"
-    # admin tools
-    "cmd/create-account"
-    "cmd/generate-config"
-    "cmd/generate-keys"
-    "cmd/resolve-state"
-    ## curl, but for federation requests, only useful for developers
-    # "cmd/furl"
-    ## an internal tool for upgrading ci tests, only relevant for developers
-    # "cmd/dendrite-upgrade-tests"
-    ## tech demos
-    # "cmd/dendrite-demo-pinecone"
-    # "cmd/dendrite-demo-yggdrasil"
-  ];
-
-  nativeCheckInputs = [
-    postgresqlTestHook
-    postgresql
-  ];
-
-  postgresqlTestUserOptions = "LOGIN SUPERUSER";
-  preCheck = ''
-    export PGUSER=$(whoami)
-    # temporarily disable this failing test
-    # it passes in upstream CI and requires further investigation
-    rm roomserver/internal/input/input_test.go
-  '';
-
-  passthru.tests = {
-    inherit (nixosTests) dendrite;
-  };
-
-  meta = with lib; {
-    homepage = "https://matrix-org.github.io/dendrite";
-    description = "A second-generation Matrix homeserver written in Go";
-    changelog = "https://github.com/matrix-org/dendrite/releases/tag/v${version}";
-    license = licenses.asl20;
-    maintainers = teams.matrix.members;
-    platforms = platforms.unix;
-  };
-}