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

27 lines
633 B
Nix
Raw Normal View History

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