about summary refs log tree commit diff
path: root/tools/eaglemode/plugins/avif/default.nix
blob: 5def86a6ed820032d1aaf402fdf425c0a1b65089 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ 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 ];
  })