diff --git a/package.json b/package.json index 76f8e2b1..e01806da 100644 --- a/package.json +++ b/package.json @@ -384,7 +384,6 @@ }, "linux": { "target": [ - "deb", "AppImage" ], "category": "Development", diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..75b7ae73 --- /dev/null +++ b/shell.nix @@ -0,0 +1,32 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + buildInputs = with pkgs; [ + nodejs + nodePackages.node-gyp + python313 + python313Packages.setuptools + python313Packages.wheel + python313Packages.distutils + + # Document processing libraries + python313Packages.pypdf2 + python313Packages.python-docx + python313Packages.python-pptx + python313Packages.pandas + python313Packages.openpyxl + python313Packages.xlrd + python313Packages.striprtf + python313Packages.beautifulsoup4 + + # Build tools + gcc + cmake + pkg-config + ]; + + shellHook = '' + # make sure node-gyp/npm use the shell python + export npm_config_python=${pkgs.python313}/bin/python3 + ''; +}