{ lib , fetchFromGitHub , nix-update-script , stdenvNoCC , ... }: stdenvNoCC.mkDerivation (self: { name = "alacritty-theme"; version = "unstable-2024-02-11"; src = fetchFromGitHub { owner = "alacritty"; repo = "alacritty-theme"; rev = "0587019bac748dfb5cc1b768f89c88ad9291b66b"; hash = "sha256-WPatWpBCZYFCohUh3U9QzSTFJgtou8+861013jz49Lw="; }; dontConfigure = true; dontBuild = true; preferLocalBuild = true; sourceRoot = "${self.src.name}/themes"; installPhase = '' runHook preInstall install -Dt $out *.toml runHook postInstall ''; passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; meta = with lib; { description = "Collection of Alacritty color schemes"; homepage = "https://alacritty.org/"; license = licenses.asl20; maintainers = [ maintainers.nicoo ]; platforms = platforms.all; }; })