From 01fe8dff8cc5577a29a28e8e0d4038b76d7bfc75 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Fri, 13 Oct 2023 12:55:30 +0200 Subject: package authentik for nixos --- modules/authentik/authentik-outpost-ldap.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 modules/authentik/authentik-outpost-ldap.nix (limited to 'modules/authentik/authentik-outpost-ldap.nix') diff --git a/modules/authentik/authentik-outpost-ldap.nix b/modules/authentik/authentik-outpost-ldap.nix new file mode 100644 index 0000000..e2031cc --- /dev/null +++ b/modules/authentik/authentik-outpost-ldap.nix @@ -0,0 +1,17 @@ +{ lib, stdenv, buildGoModule, fetchFromGitHub, ... }: + +buildGoModule rec { + pname = "authentik-outpost-ldap"; + version = "2023.8.3"; + + src = fetchFromGitHub { + owner = "goauthentik"; + repo = "authentik"; + rev = "version/${version}"; + hash = "sha256-dpGvxhA5NWO8LKrGXzalV9EVn/nUIj6sMy2HdY5tjlM="; + }; + + vendorHash = "sha256-F3JzzL6Gg9H4qdmp4MbQFupccATYIUIFL05is6xzoZY="; + + subPackages = [ "cmd/ldap" ]; +} -- cgit v1.2.3