configuration/packages/mozjpeg-simple.nix
Andrew Kvalheim b7eabca46a Use resholve
2022-08-02 11:37:41 -07:00

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)