fish(epub2pdf): drop

Rarely used this and the dependency on calibre was causing build issues
due to its dependency on pyqt6.
This commit is contained in:
Donovan Glover 2024-10-15 14:33:55 -04:00
parent 1f85bd4ec7
commit 54b018aa22
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -152,16 +152,6 @@
echo "Done. Reduced file size from $ORIGINAL_SIZE to $NEW_SIZE" echo "Done. Reduced file size from $ORIGINAL_SIZE to $NEW_SIZE"
''; '';
epub2pdf = # fish
''
if string match -qe -- ".epub" "$argv";
set BASE (string split -f 1 ".epub" "$argv")
${pkgs.calibre}/bin/ebook-convert "$argv" "$BASE.pdf"; and trash "$argv"
else
echo "Usage: epub2pdf [file.epub]"
end
'';
tmp = # fish tmp = # fish
'' ''
set MULLVAD_CACHE "/tmp/mullvad.json" set MULLVAD_CACHE "/tmp/mullvad.json"