summary refs log tree commit diff
path: root/pkgs/tools/admin/synapse-admin/default.nix
blob: 52b2183222ed951f24b5e7bdb0123a95d461ffb5 (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.4";

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

  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 ];
  };
}