Bootstraps a plugin (that doesn't do anything yet) for accessing Yandex Tracker through Eagle Mode. This commit only initialises the plugin files, it doesn't actually do anything other than print the word "Loaded". API docs for future development: https://yandex.cloud/ru/docs/tracker/about-api The next steps will be to figure out the emModel classes and the threading model for fetching the remote data. Change-Id: Ifce8bc2a61c4fd0c4a591013acbf428a9f5803f8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12398 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			357 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			357 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ 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
 | 
						|
  '';
 | 
						|
})
 | 
						|
 |