authelia: init at 4.37.2

Now some NixOS module would be quite nice…
22.11
Andreas Wiese 2022-11-19 01:03:50 +01:00
parent 2860717cbf
commit 5fe83a1393
3 changed files with 32 additions and 0 deletions

View File

@ -6,6 +6,8 @@ let
in rec { in rec {
authelia = callPackage ./pkgs/authelia { };
nextcloud-spreed-signaling = callPackage ./pkgs/nextcloud-spreed-signaling { }; nextcloud-spreed-signaling = callPackage ./pkgs/nextcloud-spreed-signaling { };
ykoath-tools = callPackage ./pkgs/ykoath-tools { }; ykoath-tools = callPackage ./pkgs/ykoath-tools { };

View File

@ -29,6 +29,7 @@
let localPkgs = import ./. { pkgs = next; }; let localPkgs = import ./. { pkgs = next; };
in { in {
inherit (localPkgs) inherit (localPkgs)
authelia
nextcloud-spreed-signaling nextcloud-spreed-signaling
; ;
} // prev.lib.optionalAttrs (prev.system == "x86_64-linux") rec { } // prev.lib.optionalAttrs (prev.system == "x86_64-linux") rec {

29
pkgs/authelia/default.nix Normal file
View File

@ -0,0 +1,29 @@
{ lib
, buildGoModule
, fetchFromGitHub
, ...
}:
buildGoModule rec {
pname = "authelia";
version = "4.37.2";
src = fetchFromGitHub {
owner = "authelia";
repo = pname;
rev = "v${version}";
hash = "sha256-zNMZkIUEsOX+z1YnGnYC1OKUanUj4sLvRQ8zjhK98jg=";
};
vendorHash = "sha256-RodWMeHdlu7WeWmg415giL9Nfw2OoIIOABwgwzegULE=";
doCheck = false;
meta = with lib; {
description = "The Single Sign-On Multi-Factor portal for web apps";
homepage = "https://www.authelia.com";
licenses = licenses.asl20;
maintainers = with maintainers; [ aw ];
platforms = platforms.unix;
};
}