authentik: 2023.4.0 -> 2023.5.0

This commit is contained in:
Luke Granger-Brown 2023-05-16 14:54:48 +01:00
parent e0c88bac2d
commit f77be18e47
5 changed files with 16 additions and 11 deletions

View file

@ -1,12 +1,12 @@
{ pkgs, ... }@args: { pkgs, ... }@args:
let let
version = "2023.4.0-lukegb"; version = "2023.5.0-lukegb";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "lukegb"; owner = "lukegb";
repo = "authentik"; repo = "authentik";
rev = "c8261d76066f37586d9adc428d60f9675ceed9fb"; rev = "9505f2f4088912bcdfbc45ee86dbdb0fb358a403";
hash = "sha256:0c7a76vfmwd6flm4swpdas59d70kv166c8jly7zfjwgdf5vw1d0j"; hash = "sha256:1bd63lkzl9hi4l59ahbjxbncj2b967gcfivhqcbn61cpps11j1yl";
}; };
subargs = args // { inherit src version; }; subargs = args // { inherit src version; };
in rec { in rec {

View file

@ -6,7 +6,7 @@ pkgs.buildNpmPackage rec {
sourceRoot = "source/website"; sourceRoot = "source/website";
npmDepsHash = "sha256:0hi7asn5b8ysm2vryji600kp9p3jk1s3kfskq1pmdbjx0kbn3q73"; npmDepsHash = "sha256:076ndnrs3iirpn618ziw8ybnrvajl47n53x5p8k9xxkd7dxngb0p";
npmBuildFlags = "-- --config docusaurus.docs-only.js"; npmBuildFlags = "-- --config docusaurus.docs-only.js";
dontNpmInstall = true; dontNpmInstall = true;

View file

@ -4,6 +4,6 @@ pkgs.buildGoModule {
pname = "authentik-server"; pname = "authentik-server";
inherit src version; inherit src version;
vendorSha256 = "sha256:07rzhhczb681vaadvjxcxh7p2fm04yr1nnwfj77dy6j6wsapk8fr"; vendorSha256 = "sha256:1skk3pq02cl0iw6ycfy5v3hig7kwwhj1lddg0ilcarw7h3b6wg5h";
subPackages = "cmd/server"; subPackages = "cmd/server";
} }

View file

@ -80,11 +80,16 @@ let
pydantic-scim = assert assertVersion super.pydantic-scim "0.0.7"; super.pydantic-scim.overridePythonAttrs (old: { pydantic-scim = assert assertVersion super.pydantic-scim "0.0.7"; super.pydantic-scim.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ self.setuptools self.setuptools-scm ]; buildInputs = (old.buildInputs or []) ++ [ self.setuptools self.setuptools-scm ];
}); });
twilio = assert assertVersion super.twilio "8.0.0"; super.twilio.overridePythonAttrs (old: { sqlparse = assert assertVersion super.sqlparse "0.4.4"; super.sqlparse.overridePythonAttrs (old: {
postPatch = '' buildInputs = (old.buildInputs or []) ++ [ self.flit-core ];
${old.postPatch or ""} });
substituteInPlace setup.py --replace '"asyncio>=3.4.3",' "" ruff = null;
''; pytest-github-actions-annotate-failures = null;
drf-jsonschema-serializer = assert assertVersion super.drf-jsonschema-serializer "1.0.0"; super.drf-jsonschema-serializer.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ self.setuptools ];
});
django-otp = assert assertVersion super.django-otp "1.2.0"; super.django-otp.overridePythonAttrs (old: {
buildInputs = (old.buildInputs or []) ++ [ self.hatchling ];
}); });
}); });

View file

@ -6,7 +6,7 @@ pkgs.buildNpmPackage {
sourceRoot = "source/web"; sourceRoot = "source/web";
npmDepsHash = "sha256:0gm7b80a9yinkcfzfq5s34lj7rm7v6fbbnk696ayghsr9yvcq6fl"; npmDepsHash = "sha256:1b9h37pvi3wm1ac4scdlz43n7nplns7qn44hxsf21cyhddvv0zc6";
dontNpmInstall = true; dontNpmInstall = true;
installPhase = '' installPhase = ''