tvl-depot/tools/eaglemode/plugins/avif/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
379 B
Nix
Raw Normal View History

{ 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 ];
})