matrix-authentication-service: init at 0.9.0

This commit is contained in:
Rouven Seifert 2024-04-30 14:54:59 +02:00
parent f88f61b020
commit 801656609b
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 30 additions and 0 deletions

View file

@ -67,6 +67,7 @@
# thinkpad = self.nixosConfigurations.thinkpad.config.system.build.toplevel; # thinkpad = self.nixosConfigurations.thinkpad.config.system.build.toplevel;
jmri = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/jmri { }; jmri = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/jmri { };
adguardian-term = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/adguardian-term { }; adguardian-term = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/adguardian-term { };
matrix-authentication-service = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/matrix-authentication-service { };
pww = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/pww { }; pww = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/pww { };
gnome-break-timer = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/gnome-break-timer { }; gnome-break-timer = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/gnome-break-timer { };
hashcash-milter = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/hashcash-milter { }; hashcash-milter = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/hashcash-milter { };

View file

@ -0,0 +1,29 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "matrix-authentication-service";
version = "0.9.0";
src = fetchFromGitHub {
owner = "matrix-org";
repo = pname;
rev = "v${version}";
hash = "sha256-e5JlkcSJ44iE+pVnGQpGiSNahxUcIFeaPyOjp9E3eD0=";
};
cargoLock = {
lockFile = "${src}/Cargo.lock";
outputHashes = {
"opa-wasm-0.1.0" = "sha256-f3IIln7BbN7NJiCVMgfoell/plzlqkSm4YYK7mqzKgw=";
};
};
meta = with lib;
{
description = "O.uth2.0 + OpenID Provider for Matrix Homeservers";
homepage = "https://github.com/matrix-org/matrix-authentication-service/blob/main/LICENSE";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ therealr5 ];
mainProgram = "mas-cli";
};
}