2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchzip
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "synapse-admin";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "0.8.5";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/Awesome-Technologies/synapse-admin/releases/download/${version}/synapse-admin-${version}.tar.gz";
|
2022-03-05 16:20:37 +00:00
|
|
|
hash = "sha256-5wMKRaLMVJer6W2q2WuofgzVwr8Myi90DQ8tBVAoUX4=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
cp -r . $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Admin UI for Synapse Homeservers";
|
|
|
|
homepage = "https://github.com/Awesome-Technologies/synapse-admin";
|
2022-01-07 04:07:37 +00:00
|
|
|
license = licenses.asl20;
|
2021-12-06 16:07:01 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ mkg20001 ];
|
|
|
|
};
|
|
|
|
}
|