confy: ship

This commit is contained in:
2025-02-04 09:37:11 +00:00
parent ac899b614b
commit 5a88a10a19
4 changed files with 49 additions and 0 deletions

View File

@@ -286,6 +286,7 @@ in
"alacritty" # terminal emulator
"blanket" # ambient noise generator
"calls" # gnome calls (dialer/handler)
"confy" # conference planning app
"dbus"
# "dconf" # or use `gsettings`, with its keyfile backend
# "delfin" # Jellyfin client

View File

@@ -0,0 +1,19 @@
{ ... }:
{
sane.programs.confy = {
sandbox.net = "all";
sandbox.whitelistDri = true;
sandbox.whitelistWayland = true;
sandbox.mesaCacheDir = ".cache/net.kirgroup.confy/mesa";
sandbox.whitelistDbus.user.own = [ "net.kirgroup.confy" ];
sandbox.whitelistPortal = [
"NetworkMonitor"
"OpenURI"
];
persist.byStore.private = [
".cache/net.kirgroup.confy"
# ".local/share/net.kirgroup.confy" #< empty
];
};
}

View File

@@ -30,6 +30,7 @@
./catt.nix
./celeste64.nix
./chatty.nix
./confy.nix
./conky
./cozy.nix
./cups.nix

View File

@@ -190,6 +190,34 @@ in with final; {
];
};
# 2025/02/04: upstreaming is unblocked, but a cleaner solution than this doesn't seem to exist yet
confy = (prev.confy.override {
blueprint-compiler = wrapBlueprint [
buildPackages.gdk-pixbuf
buildPackages.glib
buildPackages.graphene
buildPackages.gtk4
buildPackages.harfbuzz
buildPackages.libadwaita
buildPackages.pango
];
}).overrideAttrs (upstream: {
# meson's `python.find_installation` method somehow just doesn't support cross compilation.
# - <https://mesonbuild.com/Python-module.html#find_installation>
# so, build it to target build python, then patch in the host python
nativeBuildInputs = upstream.nativeBuildInputs ++ [
python3.pythonOnBuildForHost
];
postFixup = ''
substituteInPlace $out/bin/.confy-wrapped --replace-fail ${python3.pythonOnBuildForHost} ${python3.withPackages (
ps: with ps; [
icalendar
pygobject3
]
)}
'';
});
# 2024/11/19: upstreaming is unblocked
delfin = (prev.delfin.override {
cargo = crossCargo;