summary refs log tree commit diff
path: root/pkgs/tools/admin/synapse-admin/default.nix
blob: 4248e62adebf8078b53a634194fe7fbca1b1a2f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib
, stdenv
, fetchzip
}:

stdenv.mkDerivation rec {
  pname = "synapse-admin";
  version = "0.8.3";

  src = fetchzip {
    url = "https://github.com/Awesome-Technologies/synapse-admin/releases/download/${version}/synapse-admin-${version}.tar.gz";
    hash = "sha256-LAdMxzUffnykiDHvQYu9uNxK4428Q9CxQY2q02AcUco=";
  };

  installPhase = ''
    cp -r . $out
  '';

  meta = with lib; {
    description = "Admin UI for Synapse Homeservers";
    homepage = "https://github.com/Awesome-Technologies/synapse-admin";
    license = licenses.asl20;
    platforms = platforms.all;
    maintainers = with maintainers; [ mkg20001 ];
  };
}