about summary refs log blame commit diff
path: root/tools/eaglemode/plugins/yatracker/default.nix
blob: 3ffc42029a03d8750b7a10395e06b75f667e96d3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                
{ depot, pkgs, ... }:

let
  em = depot.tools.eaglemode;
  emSrc = with pkgs; srcOnly eaglemode;
in
(em.buildPlugin {
  name = "yatracker";
  version = "canon";
  src = ./.;
  target = "PlYaTracker";
}).overrideAttrs (_: {
  postInstall = ''
    mkdir -p $out/icons
    ${pkgs.imagemagick}/bin/convert $src/logo.webp $out/icons/yandex-tracker.tga
  '';
})