Loading pkgs/by-name/ma/matrix-authentication-service/Cargo.lock 0 → 100644 +7602 −0 File added.Preview size limit exceeded, changes collapsed. Show changes pkgs/by-name/ma/matrix-authentication-service/package.nix +16 −11 Original line number Diff line number Diff line Loading @@ -15,21 +15,26 @@ rustPlatform.buildRustPackage rec { pname = "matrix-authentication-service"; version = "0.10.0"; version = "0.12.0"; src = fetchFromGitHub { owner = "matrix-org"; owner = "element-hq"; repo = "matrix-authentication-service"; rev = "refs/tags/v${version}"; hash = "sha256-cZJ9ibBtxVBBVCBTGhtfM6lQTFvgUnO1WPO1WmDGuks="; hash = "sha256-QLtyYxV2yXHJtwWgGcyi7gRcKypYoy9Z8bkEuTopVXc="; }; cargoHash = "sha256-mUHN1uEc1qM1Bm/J7qf0zyMKaJvyt9YbQ8TxvxG+vcM="; cargoLock = { lockFile = ./Cargo.lock; outputHashes = { "sea-query-0.32.0-rc.1" = "sha256-Q/NFiIBu8L5rQj4jwcIo8ACmAhLBy4HSTcJv06UdK8E="; }; }; npmDeps = fetchNpmDeps { name = "${pname}-${version}-npm-deps"; src = "${src}/${npmRoot}"; hash = "sha256-CMdnHS3sj9gXLpVlmuKvqFJ28+7fddG2Ld6t2nSFp24="; hash = "sha256-EfDxbdjzF0yLQlueIYKmdpU4v9dx7g8bltU63mIWfo0="; }; npmRoot = "frontend"; Loading Loading @@ -75,7 +80,7 @@ rustPlatform.buildRustPackage rec { (cd "$npmRoot" && npm run build) ''; # Adopted from https://github.com/matrix-org/matrix-authentication-service/blob/main/Dockerfile # Adopted from https://github.com/element-hq/matrix-authentication-service/blob/main/Dockerfile postInstall = '' install -Dm444 -t "$out/share/$pname" "policies/policy.wasm" install -Dm444 -t "$out/share/$pname/assets" "$npmRoot/dist/"* Loading @@ -83,12 +88,12 @@ rustPlatform.buildRustPackage rec { cp -r translations "$out/share/$pname/translations" ''; meta = with lib; { meta = { description = "OAuth2.0 + OpenID Provider for Matrix Homeservers"; homepage = "https://github.com/matrix-org/matrix-authentication-service"; changelog = "https://github.com/matrix-org/matrix-authentication-service/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ teutat3s ]; homepage = "https://github.com/element-hq/matrix-authentication-service"; changelog = "https://github.com/element-hq/matrix-authentication-service/releases/tag/v${version}"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ teutat3s ]; mainProgram = "mas-cli"; }; } Loading
pkgs/by-name/ma/matrix-authentication-service/Cargo.lock 0 → 100644 +7602 −0 File added.Preview size limit exceeded, changes collapsed. Show changes
pkgs/by-name/ma/matrix-authentication-service/package.nix +16 −11 Original line number Diff line number Diff line Loading @@ -15,21 +15,26 @@ rustPlatform.buildRustPackage rec { pname = "matrix-authentication-service"; version = "0.10.0"; version = "0.12.0"; src = fetchFromGitHub { owner = "matrix-org"; owner = "element-hq"; repo = "matrix-authentication-service"; rev = "refs/tags/v${version}"; hash = "sha256-cZJ9ibBtxVBBVCBTGhtfM6lQTFvgUnO1WPO1WmDGuks="; hash = "sha256-QLtyYxV2yXHJtwWgGcyi7gRcKypYoy9Z8bkEuTopVXc="; }; cargoHash = "sha256-mUHN1uEc1qM1Bm/J7qf0zyMKaJvyt9YbQ8TxvxG+vcM="; cargoLock = { lockFile = ./Cargo.lock; outputHashes = { "sea-query-0.32.0-rc.1" = "sha256-Q/NFiIBu8L5rQj4jwcIo8ACmAhLBy4HSTcJv06UdK8E="; }; }; npmDeps = fetchNpmDeps { name = "${pname}-${version}-npm-deps"; src = "${src}/${npmRoot}"; hash = "sha256-CMdnHS3sj9gXLpVlmuKvqFJ28+7fddG2Ld6t2nSFp24="; hash = "sha256-EfDxbdjzF0yLQlueIYKmdpU4v9dx7g8bltU63mIWfo0="; }; npmRoot = "frontend"; Loading Loading @@ -75,7 +80,7 @@ rustPlatform.buildRustPackage rec { (cd "$npmRoot" && npm run build) ''; # Adopted from https://github.com/matrix-org/matrix-authentication-service/blob/main/Dockerfile # Adopted from https://github.com/element-hq/matrix-authentication-service/blob/main/Dockerfile postInstall = '' install -Dm444 -t "$out/share/$pname" "policies/policy.wasm" install -Dm444 -t "$out/share/$pname/assets" "$npmRoot/dist/"* Loading @@ -83,12 +88,12 @@ rustPlatform.buildRustPackage rec { cp -r translations "$out/share/$pname/translations" ''; meta = with lib; { meta = { description = "OAuth2.0 + OpenID Provider for Matrix Homeservers"; homepage = "https://github.com/matrix-org/matrix-authentication-service"; changelog = "https://github.com/matrix-org/matrix-authentication-service/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ teutat3s ]; homepage = "https://github.com/element-hq/matrix-authentication-service"; changelog = "https://github.com/element-hq/matrix-authentication-service/releases/tag/v${version}"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ teutat3s ]; mainProgram = "mas-cli"; }; }