1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
{ depot, ... }:

# The vendored pdf.js viewer, stored in an application's SQLite database and
# served from it. A library: mailweb and campusweb consume it through `deps`.
# See the package comment in pdfjs.go for why it is vendored at all.

depot.nix.buildGo.package {
  name = "pdfjs";
  path = "codeberg.org/Profpatsch/Profpatsch/users/Profpatsch/pdfjs";
  srcs = [
    ./pdfjs.go
  ];
}