2024-01-02 11:29:13 +00:00
|
|
|
{ lib
|
|
|
|
, buildNpmPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "syn2mas";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.9.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "matrix-org";
|
|
|
|
repo = "matrix-authentication-service";
|
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-e5JlkcSJ44iE+pVnGQpGiSNahxUcIFeaPyOjp9E3eD0=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
sourceRoot = "${src.name}/tools/syn2mas";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
npmDepsHash = "sha256-47tFcKgzH/2WEX99rs7F79TXBXjqVwEumg5aLkx86Fw=";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|