mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 03:37:47 +00:00
matrix-authentication-service: 0.10.0 -> 0.12.0 (#342301)
This commit is contained in:
commit
b93a350252
7602
pkgs/by-name/ma/matrix-authentication-service/Cargo.lock
generated
Normal file
7602
pkgs/by-name/ma/matrix-authentication-service/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -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";
|
||||
@ -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/"*
|
||||
@ -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…
Reference in New Issue
Block a user