update: 2024.8.4 -> 2024.10.0
See https://docs.goauthentik.io/docs/releases/2024.10
This commit is contained in:
parent
4e1f5a6a36
commit
26829732e1
5 changed files with 36 additions and 11 deletions
|
|
@ -12,6 +12,9 @@ buildNapalmPackage "${authentik-src}/web" rec {
|
||||||
ln -sv ${authentikComponents.docs} ../website
|
ln -sv ${authentikComponents.docs} ../website
|
||||||
ln -sv ${authentik-src}/package.json ../
|
ln -sv ${authentik-src}/package.json ../
|
||||||
'';
|
'';
|
||||||
|
# upstream does not clearly separate development dependencies
|
||||||
|
# from release build dependencies, therefore this workaround
|
||||||
|
CHROMEDRIVER_SKIP_DOWNLOAD = "true";
|
||||||
npmCommands = [
|
npmCommands = [
|
||||||
"npm install --include=dev --nodedir=${nodejs}/include/node --loglevel verbose"
|
"npm install --include=dev --nodedir=${nodejs}/include/node --loglevel verbose"
|
||||||
"npm run build"
|
"npm run build"
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ buildGo123Module {
|
||||||
"cmd/proxy"
|
"cmd/proxy"
|
||||||
"cmd/radius"
|
"cmd/radius"
|
||||||
];
|
];
|
||||||
vendorHash = "sha256-xaVEyG5fNGh/zmXkewve5V2q2W7u+hqo27GqabAV9H0=";
|
vendorHash = "sha256-x5y+3s4PkiE5HieXOHNaMPPvSwhh8gJ73JkfQps1/nU=";
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
||||||
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -3,16 +3,16 @@
|
||||||
"authentik-src": {
|
"authentik-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730315123,
|
"lastModified": 1730324748,
|
||||||
"narHash": "sha256-UYOdBlkGeIGCG/pCGLANWv1bKTdBEUp6jTiLG7BpY7E=",
|
"narHash": "sha256-nhQl16FBK5eFSvBnwyDzmSQnJsIigRQpOxYtPlDPBxk=",
|
||||||
"owner": "goauthentik",
|
"owner": "goauthentik",
|
||||||
"repo": "authentik",
|
"repo": "authentik",
|
||||||
"rev": "e8b5e4c1272151f4a3666e53754f7deefb8e2fb3",
|
"rev": "6ce33ab912d764a87ec75876febcd57a6355f3c8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "goauthentik",
|
"owner": "goauthentik",
|
||||||
"ref": "version/2024.8.4",
|
"ref": "version/2024.10.0",
|
||||||
"repo": "authentik",
|
"repo": "authentik",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,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/2024.8.4";
|
url = "github:goauthentik/authentik/version/2024.10.0";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
{ inherit inputs; }
|
{ inherit inputs; }
|
||||||
({ inputs, lib, withSystem, ... }:
|
({ inputs, lib, withSystem, ... }:
|
||||||
let
|
let
|
||||||
authentik-version = "2024.8.4"; # to pass to the drvs of some components
|
authentik-version = "2024.10.0"; # to pass to the drvs of some components
|
||||||
in {
|
in {
|
||||||
systems = import inputs.systems;
|
systems = import inputs.systems;
|
||||||
flake = { self, ... }: {
|
flake = { self, ... }: {
|
||||||
|
|
|
||||||
|
|
@ -113,6 +113,28 @@ pkgs:
|
||||||
final.flit-core
|
final.flit-core
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
python-kadmin = prev.python-kadmin.overrideAttrs (oA: {
|
||||||
|
nativeBuildInputs = oA.nativeBuildInputs ++ [
|
||||||
|
final.setuptools
|
||||||
|
final.poetry-core
|
||||||
|
];
|
||||||
|
buildInputs = oA.buildInputs ++ [
|
||||||
|
pkgs.krb5
|
||||||
|
];
|
||||||
|
pythonImportsCheck = [ "kadmin" ];
|
||||||
|
});
|
||||||
|
gssapi = prev.gssapi.overrideAttrs (oA: {
|
||||||
|
nativeBuildInputs = oA.nativeBuildInputs ++ [
|
||||||
|
final.setuptools
|
||||||
|
final.cython
|
||||||
|
pkgs.krb5 # needs krb5-config
|
||||||
|
];
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace-fail 'get_output(f"{kc} gssapi --prefix")' '"${pkgs.krb5.dev}"'
|
||||||
|
'';
|
||||||
|
pythonImportsCheck = [ "gssapi" ];
|
||||||
|
});
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue