28 lines
486 B
Nix
28 lines
486 B
Nix
final: prev:
|
|
{
|
|
scan2paperless = {
|
|
scan2paperless = final.deno2nix.mkExecutable {
|
|
pname = "scan2paperless";
|
|
version = "0.1.0";
|
|
|
|
src = ./.;
|
|
bin = "scan2paperless";
|
|
|
|
entrypoint = "./src/main.ts";
|
|
lockfile = "./deno.lock";
|
|
config = "./deno.json";
|
|
|
|
buildInputs = [
|
|
sane-backends
|
|
python39Packages.img2pdf
|
|
];
|
|
|
|
allow = {
|
|
"write" = true;
|
|
"env" = true;
|
|
"run" = true;
|
|
};
|
|
};
|
|
};
|
|
}
|