update: 2023.10.7 -> 2024.2.0

Release notes: https://goauthentik.io/docs/releases/2024.2

Flake lock file updates:

• Updated input 'authentik-src':
    'github:goauthentik/authentik/e095e9f694d2a427940bc8616bc4025fef502a8b' (2024-01-29)
  → 'github:goauthentik/authentik/310983a4d027174afe40e6db908cdfdebf1182b8' (2024-02-21)
• Updated input 'poetry2nix':
    'github:nix-community/poetry2nix/4eb2ac54029af42a001c9901194e9ce19cbd8a40' (2024-02-06)
  → 'github:nix-community/poetry2nix/403d923ea8e2e6cedce3a0f04a9394c4244cb806' (2024-02-17)
This commit is contained in:
WilliButz 2024-02-21 16:27:41 +01:00
parent 497c207488
commit 8edfcf318a
No known key found for this signature in database
GPG key ID: AB05DF703EB9DC70
4 changed files with 19 additions and 10 deletions

View file

@ -41,7 +41,7 @@ buildGo121Module {
"cmd/proxy" "cmd/proxy"
"cmd/radius" "cmd/radius"
]; ];
vendorHash = "sha256-74rSuZrO5c7mjhHh0iQlJEkOslsFrcDb1aRXXC4RsUM="; vendorHash = "sha256-UIJBCTq7AJGUDIlZtJaWCovyxlMPzj2BCJQqthybEz4=";
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
postInstall = '' postInstall = ''
wrapProgram $out/bin/server --prefix PATH : ${authentikComponents.pythonEnv}/bin wrapProgram $out/bin/server --prefix PATH : ${authentikComponents.pythonEnv}/bin

14
flake.lock generated
View file

@ -3,16 +3,16 @@
"authentik-src": { "authentik-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1706546688, "lastModified": 1708526096,
"narHash": "sha256-+1IdXRt28UZ2KTa0zsmjneNUOcutP99UUwqcYyVyqTI=", "narHash": "sha256-jbU3k+EOp6De7UxNswW7ozAf11iD8XakKMUUjN9Ybz0=",
"owner": "goauthentik", "owner": "goauthentik",
"repo": "authentik", "repo": "authentik",
"rev": "e095e9f694d2a427940bc8616bc4025fef502a8b", "rev": "310983a4d027174afe40e6db908cdfdebf1182b8",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "goauthentik", "owner": "goauthentik",
"ref": "version/2023.10.7", "ref": "version/2024.2.0",
"repo": "authentik", "repo": "authentik",
"type": "github" "type": "github"
} }
@ -176,11 +176,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1707195113, "lastModified": 1708175019,
"narHash": "sha256-xPFxTMe4rKE/ZWLlOWv22qpGwpozpR+U1zhyf1040Zk=", "narHash": "sha256-B7wY2pNrLc3X9uYRo1LUmVzI6oH6fX8oi+96GdUpayU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "poetry2nix", "repo": "poetry2nix",
"rev": "4eb2ac54029af42a001c9901194e9ce19cbd8a40", "rev": "403d923ea8e2e6cedce3a0f04a9394c4244cb806",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -27,7 +27,7 @@
}; };
}; };
authentik-src = { # change version string in outputs as well when updating authentik-src = { # change version string in outputs as well when updating
url = "github:goauthentik/authentik/version/2023.10.7"; url = "github:goauthentik/authentik/version/2024.2.0";
flake = false; flake = false;
}; };
}; };
@ -47,7 +47,7 @@
{ inherit inputs; } { inherit inputs; }
({ inputs, lib, withSystem, ... }: ({ inputs, lib, withSystem, ... }:
let let
authentik-version = "2023.10.7"; # to pass to the drvs of some components authentik-version = "2024.2.0"; # to pass to the drvs of some components
in { in {
systems = [ systems = [
"x86_64-linux" "x86_64-linux"

View file

@ -14,6 +14,7 @@ pkgs:
"pytest-github-actions-annotate-failures" "pytest-github-actions-annotate-failures"
"drf-jsonschema-serializer" "drf-jsonschema-serializer"
"pydantic-scim" "pydantic-scim"
"django-tenants"
])) ]))
) )
(final: prev: { (final: prev: {
@ -78,6 +79,14 @@ pkgs:
final.flit-core final.flit-core
]; ];
}); });
cryptography = prev.cryptography.overridePythonAttrs (oA: {
cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
src = oA.src;
sourceRoot = "${oA.pname}-${oA.version}/src/rust";
name = "${oA.pname}-${oA.version}";
sha256 = "sha256-h6TjGcn81TSQuu+16ty60e6P07uH2gXa3VmG+Vy3eu0=";
};
});
} }
) )
] ]