2021-11-05 17:18:40 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchzip
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "synapse-admin";
|
2022-02-20 18:21:33 +00:00
|
|
|
version = "0.8.5";
|
2021-11-05 17:18:40 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/Awesome-Technologies/synapse-admin/releases/download/${version}/synapse-admin-${version}.tar.gz";
|
2022-02-20 18:21:33 +00:00
|
|
|
hash = "sha256-5wMKRaLMVJer6W2q2WuofgzVwr8Myi90DQ8tBVAoUX4=";
|
2021-11-05 17:18:40 +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-02 14:23:43 +00:00
|
|
|
license = licenses.asl20;
|
2021-11-05 17:18:40 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ mkg20001 ];
|
|
|
|
};
|
|
|
|
}
|