Compare commits

...

4 Commits

Author SHA1 Message Date
b7b2d5fc72
home/packages: add zapzap 2023-10-29 00:42:00 +02:00
33fffd5f92
packages/zapzap: add derivation 2023-10-29 00:41:39 +02:00
2c015fc1e6
packages/zapzap: remove flake from repo 2023-10-29 00:41:21 +02:00
5275d7a226
packages: add zapzap flake 2023-10-28 23:45:13 +02:00
3 changed files with 28 additions and 1 deletions

View File

@ -83,7 +83,9 @@
zig
zls
/* install here until nvim flake is fixed */
/*
install here until nvim flake is fixed
*/
alejandra
ccls
gopls
@ -101,5 +103,6 @@
++ [
inputs.swaysw.packages.x86_64-linux.swaysw
inputs.nvim.packages.x86_64-linux.nvim
(import ../packages/zapzap/default.nix {inherit pkgs;})
];
}

1
packages/zapzap/.nixd.json Symbolic link
View File

@ -0,0 +1 @@
../../.nixd.json

View File

@ -0,0 +1,23 @@
{pkgs}:
pkgs.python3Packages.buildPythonPackage {
name = "zapzap";
src = pkgs.fetchFromGitHub {
owner = "zapzap-linux";
repo = "zapzap";
rev = "5de4a4015128c164af3c964ecbe5b6358d98b521";
hash = "sha256-bd3YcITK4lraOu7D/xZfnibilAZQZWqazVVtUwqJ4wc=";
};
dontWrapQtApps = true;
propagatedBuildInputs = with pkgs.python3Packages; [pyqt6-webengine qt6.qtwayland qt6.qtsvg];
nativeBuildInputs = with pkgs; [qt6.wrapQtAppsHook makeWrapper];
env = {
HOME = "/tmp";
};
preFixup = ''
makeWrapperArgs+=(
# Force the app to use QT_PLUGIN_PATH values from wrapper
--unset QT_PLUGIN_PATH
"''${qtWrapperArgs[@]}"
)
'';
}