nixpkgs/pkgs/tools/admin/synapse-admin/default.nix

27 lines
634 B
Nix
Raw Normal View History

2021-11-05 18:18:40 +01:00
{ 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.apsl20;
platforms = platforms.all;
maintainers = with maintainers; [ mkg20001 ];
};
}