tvl-depot/tools/eaglemode/plugins/avif/default.nix
Emery Hemingway 1c898f7ddc feat(tools/eaglemode/plugins/avif): AVIF image plugin
Animation not implemented.
https: //en.wikipedia.org/wiki/AVIF

Change-Id: I80f8c4132c4335b2e60ce7b70eb424457e50c73f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12428
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2024-09-03 19:44:05 +00:00

16 lines
379 B
Nix

{ depot, pkgs, ... }:
let
em = depot.tools.eaglemode;
emSrc = pkgs.srcOnly pkgs.em;
in
(em.buildPlugin {
name = "avif";
version = "canon";
src = ./.;
target = "PlAvif";
}).overrideAttrs
({ buildInputs ? [ ], nativeBuildInputs ? [ ], ... }: {
buildInputs = buildInputs ++ [ pkgs.libavif ];
nativeBuildInputs = nativeBuildInputs ++ [ pkgs.pkg-config ];
})