NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.5k stars 13.68k forks source link

Package request: dangerzone #343002

Open m0n0pr1x opened 5 days ago

m0n0pr1x commented 5 days ago

Project description

Take potentially dangerous PDFs, office documents, or images and convert them to a safe PDF.

Metadata


Add a :+1: reaction to issues you find important.

viraptor commented 3 days ago

So this package really doesn't like unusual filesystems. The image being used is pulled from a file which is looked up the same as all other resources... which means something like current python's exe / ../../Resources/share/.... Since the image-id is supposed to be generated/configured, I'm not even sure how that would be handled correctly.

Feel free to follow from https://github.com/NixOS/nixpkgs/commit/c8b07be300683c6f0198efde92785bbc4203b2fc It installs correctly, but needs some kind of patch for the image-id file and possibly docker detection.