Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
964 B
Nix
43 lines
964 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
unstableGitUpdater,
|
|
stdenvNoCC,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (self: {
|
|
pname = "alacritty-theme";
|
|
version = "0-unstable-2025-08-18";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alacritty";
|
|
repo = "alacritty-theme";
|
|
rev = "40e0c6c8690d1c62f58718fcef8a48eb6077740b";
|
|
hash = "sha256-guNbnnSyENom6SkwN2Zjn3I1KnV5F3hbvYS1ns4q4uE=";
|
|
sparseCheckout = [ "themes" ];
|
|
};
|
|
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
preferLocalBuild = true;
|
|
|
|
sourceRoot = "${self.src.name}/themes";
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -Dt $out/share/alacritty-theme *.toml
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
hardcodeZeroVersion = true;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Collection of Alacritty color schemes";
|
|
homepage = "https://alacritty.org/";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.nicoo ];
|
|
platforms = platforms.all;
|
|
};
|
|
})
|