authentik: 2023.8.3 -> 2023.10.5.2

This commit is contained in:
Luke Granger-Brown 2024-01-01 17:13:02 +00:00
parent 714881ede2
commit 193a2ce93c
5 changed files with 12 additions and 28 deletions

View file

@ -1,12 +1,12 @@
{ pkgs, ... }@args:
let
version = "2023.8.3-lukegb";
version = "2023.10.5.2-lukegb";
src = pkgs.fetchFromGitHub {
owner = "lukegb";
repo = "authentik";
rev = "155a299157734fb848b20eaf38a09e0efa3fa59a";
hash = "sha256:1bid1yw0xjcy2bb0mp9sp53v3hdx871d2864mxgc8m4sqjmrfavk";
rev = "9ea1129ca7948641649ec7f9e7199dbd63aa41d1";
hash = "sha256:1bipfilavgbfdx4ypidf5vh69mnqamy0ibppdp0kkj9dcdnyva9w";
};
subargs = args // { inherit src version; };
in rec {

View file

@ -6,7 +6,7 @@ pkgs.buildNpmPackage rec {
sourceRoot = "source/website";
npmDepsHash = "sha256:19yn1sm8nh6bvwnf60z0m93yr0vg29fqdr7zpf67rxci54k39liy";
npmDepsHash = "sha256:1sa7yb4vrkxj26rn4pxrhjm7blw63k0kd43lwsvrz7nc9g20bn71";
npmBuildFlags = "-- --config docusaurus.docs-only.js";
dontNpmInstall = true;

View file

@ -4,6 +4,6 @@ pkgs.buildGoModule {
pname = "authentik-server";
inherit src version;
vendorHash = "sha256:1jn30nca1g0853rj0wrmqc4x3pfvr2kf8kklnxzvqg471ywlhln4";
vendorHash = "sha256:13mx1xrjbn186c0x30c81axabnpiz4618wshvy2wap3vmzarrzbs";
subPackages = "cmd/server";
}

View file

@ -85,15 +85,15 @@ let
#});
asyncio = null;
pyrad = assert assertVersion super.pyrad "2.4"; super.pyrad.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ self.poetry ];
});
pydantic-scim = assert assertVersion super.pydantic-scim "0.0.7"; super.pydantic-scim.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ self.setuptools self.setuptools-scm ];
patches = [ (pkgs.fetchpatch {
url = "https://github.com/pyradius/pyrad/commit/ffe182a44909e8f8278fb3e2ea052ddc097b48b9.patch";
hash = "sha256:116lnhrbcpf5ni87wmzqqg17m8havn4fb5575slpgw7svsv83i2z";
}) ];
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [ self.poetry-core ];
});
sqlparse = assert assertVersion super.sqlparse "0.4.4"; super.sqlparse.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ self.flit-core ];
});
ruff = null;
pytest-github-actions-annotate-failures = null;
drf-jsonschema-serializer = assert assertVersion super.drf-jsonschema-serializer "2.0.0"; super.drf-jsonschema-serializer.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ self.setuptools ];
@ -104,24 +104,11 @@ let
gunicorn = assert assertVersion super.gunicorn "21.2.0"; super.gunicorn.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ self.packaging ];
});
psycopg-c = assert assertVersion super.psycopg-c "3.1.10"; super.psycopg-c.overridePythonAttrs (old: {
psycopg-c = assert assertVersion super.psycopg-c "3.1.12"; super.psycopg-c.overridePythonAttrs (old: {
propagatedBuildInputs = (old.propagatedBuildInputs or []) ++ [ self.tomli ];
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [ pkgs.postgresql ];
buildInputs = (old.buildInputs or []) ++ [ self.setuptools ];
});
pydantic-core = assert assertVersion super.pydantic-core "2.6.3"; super.pydantic-core.overridePythonAttrs (old: {
cargoDeps = pkgs.rustPlatform.importCargoLock {
lockFile = ./Cargo.pydantic-core.lock;
};
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [
pkgs.cargo
pkgs.rustPlatform.cargoSetupHook
pkgs.rustPlatform.maturinBuildHook
pkgs.rustc
self.typing-extensions
];
propagatedBuildInputs = (old.propagatedBuildInputs or []) ++ [ self.typing-extensions ];
});
rpds-py = assert assertVersion super.rpds-py "0.10.0"; super.rpds-py.overridePythonAttrs (old: {
cargoDeps = pkgs.rustPlatform.importCargoLock {
lockFile = ./Cargo.rpds-py.lock;
@ -151,9 +138,6 @@ let
referencing = assert assertVersion super.referencing "0.30.2"; super.referencing.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ self.hatchling self.hatch-vcs ];
});
pydantic = assert assertVersion super.pydantic "2.3.0"; super.pydantic.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ self.hatchling self.hatch-fancy-pypi-readme ];
});
jsonschema-specifications = assert assertVersion super.jsonschema-specifications "2023.7.1"; super.jsonschema-specifications.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ self.hatchling self.hatch-vcs ];
});

View file

@ -7,7 +7,7 @@ pkgs.buildNpmPackage {
sourceRoot = "source/web";
nativeBuildInputs = [ pkgs.python3 ];
npmDepsHash = "sha256:17ad4wd7gy7pddnbxrhwjh5d2gfp2vslflpzrp3m5v80qnpas8lh";
npmDepsHash = "sha256:12d637kdmcmrbm99idyppyii0pd1yf6qk6573aili87d1aa8m875";
dontNpmInstall = true;
installPhase = ''