update: 2024.10.5 -> 2024.12.1

See https://docs.goauthentik.io/docs/releases/2024.12

guess we're doing rust now

Flake lock file updates:

• Updated input 'authentik-src':
    'github:goauthentik/authentik/0edd7531a152910e6bdd4f7d3d0cde3ed5fdd956' (2024-12-10)
  → 'github:goauthentik/authentik/e87a17fd8169d3fa92bcc47eb2743928df83bc95' (2024-12-23)
• Updated input 'poetry2nix':
    'github:nix-community/poetry2nix/43a898b4d76f7f3f70df77a2cc2d40096bc9d75e' (2024-10-30)
  → 'github:nix-community/poetry2nix/1fb01e90771f762655be7e0e805516cd7fa4d58e' (2024-12-25)

Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
This commit is contained in:
WilliButz 2025-01-04 16:19:54 +01:00
parent b059e1d6e7
commit 6da4c7da80
No known key found for this signature in database
GPG key ID: AB05DF703EB9DC70
4 changed files with 30 additions and 15 deletions

View file

@ -113,21 +113,33 @@ pkgs:
final.flit-core
];
});
python-kadmin = prev.python-kadmin.overrideAttrs (oA: {
python-kadmin-rs = prev.python-kadmin-rs.overrideAttrs (oA: {
pythonImportsCheck = [ "kadmin" ];
nativeBuildInputs = oA.nativeBuildInputs ++ [
pkgs.rustPlatform.cargoSetupHook
pkgs.rustc
pkgs.cargo
final.setuptools
final.poetry-core
final.setuptools-scm
final.setuptools-rust
pkgs.sccache
pkgs.pkg-config
pkgs.rustPlatform.bindgenHook
pkgs.libkrb5
];
buildInputs = oA.buildInputs ++ [
pkgs.krb5
];
pythonImportsCheck = [ "kadmin" ];
cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
inherit (oA) pname version src;
hash = "sha256-iH2fm4OUwLdx+lqmPNOkzM3LH6gBVYDtZ+livhOQrE4=";
};
});
gssapi = prev.gssapi.overrideAttrs (oA: {
nativeBuildInputs = oA.nativeBuildInputs ++ [
final.setuptools
final.cython
pkgs.krb5 # needs krb5-config
pkgs.krb5
];
postPatch = ''
substituteInPlace setup.py \
@ -135,6 +147,10 @@ pkgs:
'';
pythonImportsCheck = [ "gssapi" ];
});
# break dependency cycle that causes an infinite recursion
ua-parser-builtins = prev.ua-parser-builtins.overridePythonAttrs (oA: {
propagatedBuildInputs = builtins.filter (p: p.pname != "ua-parser") oA.propagatedBuildInputs;
});
}
)
]