diff options
author | Nick Cao <nickcao@nichi.co> | 2023-12-18 16:00:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-18 16:00:30 -0500 |
commit | 4e2c5373180ecd17e41e879420be69dc642a6349 (patch) | |
tree | 1083b19e44af4d1a304e0357d2975fc800989f3a /pkgs | |
parent | 4bfea513e208c4175fae8b59c0f94233b508c958 (diff) | |
parent | 51f5b7df9723b09c1fbab48846bacb793a2a45c4 (diff) |
Merge pull request #275058 from teutat3s/init-syn2mas
syn2mas: init at 0.7.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/sy/syn2mas/package.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/by-name/sy/syn2mas/package.nix b/pkgs/by-name/sy/syn2mas/package.nix new file mode 100644 index 0000000000000..d6d30b6c8ed1b --- /dev/null +++ b/pkgs/by-name/sy/syn2mas/package.nix @@ -0,0 +1,30 @@ +{ lib +, buildNpmPackage +, fetchFromGitHub +}: + +buildNpmPackage rec { + pname = "syn2mas"; + version = "0.7.0"; + + src = fetchFromGitHub { + owner = "matrix-org"; + repo = "matrix-authentication-service"; + rev = "v${version}"; + hash = "sha256-foipChunzRKIbeO+O+XYx0luzaA0G9LKrH59luQl9R0="; + }; + + sourceRoot = "source/tools/syn2mas"; + + npmDepsHash = "sha256-CdEjfT4rXINv0Fzy56T//XftuAzrn03lQd76/PC2QR8="; + + 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"; + }; +} |