17 lines
336 B
Nix
17 lines
336 B
Nix
{ resholve
|
|
|
|
# Dependencies
|
|
, bash
|
|
, coreutils
|
|
, exiftool
|
|
, file
|
|
, imagemagick
|
|
, libheif
|
|
, mozjpeg
|
|
}:
|
|
|
|
resholve.writeScriptBin "mozjpeg" {
|
|
interpreter = "${bash}/bin/bash";
|
|
inputs = [ coreutils exiftool file imagemagick libheif mozjpeg ];
|
|
execer = [ "cannot:${exiftool}/bin/exiftool" ];
|
|
} (builtins.readFile ./resources/mozjpeg)
|