python3Packages.python-kadmin-rs: fix build against krb5 v1.22

Changed files
+6
pkgs
development
python-modules
python-kadmin-rs
+6
pkgs/development/python-modules/python-kadmin-rs/default.nix
···
hash = "sha256-FEOWsUQhLXU1xqaTLe6GKO1OYi5fVDyT1dowiAyzbGI=";
};
+
postPatch = ''
+
# https://github.com/authentik-community/kadmin-rs/issues/213
+
substituteInPlace kadmin-sys/build.rs \
+
--replace-fail 'bindgen::builder()' 'bindgen::builder().allowlist_type("krb5_boolean")'
+
'';
+
cargoDeps = rustPlatform.fetchCargoVendor {
inherit src;
hash = "sha256-tvjwNfjMc8k4GK9rZXFG9CfcSlUW/B95YimLtH4iEbM=";