Skip to content

Commit

Permalink
Merge pull request #275058 from teutat3s/init-syn2mas
Browse files Browse the repository at this point in the history
syn2mas: init at 0.7.0
  • Loading branch information
NickCao authored Dec 18, 2023
2 parents 4bfea51 + 51f5b7d commit 4e2c537
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/by-name/sy/syn2mas/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit 4e2c537

Please sign in to comment.