nix/packages/authentik-rfc7033/default.nix
= f664873ced feat: add RFC 7033 support with new service and package
Python webserver to serve RFC7033 since Authentik does not support it.
This is needed for OICD login in Tailscale
2025-02-09 00:27:36 +01:00

15 lines
268 B
Nix

{
pkgs ? import <nixpkgs> { },
}:
pkgs.stdenv.mkDerivation rec {
name = "authentik-rfc7033";
src = ./src;
buildInputs = [ pkgs.python3 ];
installPhase = ''
install -Dm755 rfc-7033.py $out/bin/rfc-7033.py
patchShebangs $out/bin/rfc-7033.py
'';
}