587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
30 lines
804 B
Nix
30 lines
804 B
Nix
{ lib
|
|
, buildNpmPackage
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "syn2mas";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "matrix-org";
|
|
repo = "matrix-authentication-service";
|
|
rev = "v${version}";
|
|
hash = "sha256-e5JlkcSJ44iE+pVnGQpGiSNahxUcIFeaPyOjp9E3eD0=";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/tools/syn2mas";
|
|
|
|
npmDepsHash = "sha256-47tFcKgzH/2WEX99rs7F79TXBXjqVwEumg5aLkx86Fw=";
|
|
|
|
dontBuild = true;
|
|
|
|
meta = with lib; {
|
|
description = "Tool to help with the migration of a Matrix Synapse installation to the Matrix Authentication Service";
|
|
homepage = "https://github.com/matrix-org/matrix-authentication-service/tree/main/tools/syn2mas";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ teutat3s ];
|
|
mainProgram = "syn2mas";
|
|
};
|
|
}
|