-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshell.nix
More file actions
59 lines (44 loc) · 934 Bytes
/
Copy pathshell.nix
File metadata and controls
59 lines (44 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
pkgs ? import <nixpkgs> {},
}:
with pkgs;
mkShell {
buildInputs = [
sane-backends # scanimage
gimp
deskew
tesseract
imagemagick
wget
pdftk
unzip
# not used by tesseract?
# hunspellDicts.de-de
# hunspellDicts.en-us
# nur.repos.milahu.scribeocr
nur.repos.milahu.hocr-editor-qt
# hocr-tools
# hocr-to-epub-fxl
# https://github.com/internetarchive/archive-hocr-tools/pull/23
nur.repos.milahu.archive-hocr-tools
nur.repos.milahu.archive-pdf-tools # recode_pdf
epubcheck
# gImageReader
# gImageReader-qt
# prettier
(python3.withPackages (pp: with pp; [
pillow
numpy
opencv4
python-fontconfig
reportlab
ocrmypdf
psutil
# pypdf2 # python3.13-pypdf2-3.0.1 marked as insecure
scikit-image # skimage
]))
img2pdf
# nur.repos.milahu.pdfjam
libtiff # tiffcp
];
}