electron_32: fix log spam when building on aarch64-linux (#378988)
[NixPkgs.git] / pkgs / by-name / al / alacritty-theme / package.nix
blob48c698be119668a68aa13769d6b362b45f534de5
2   lib,
3   fetchFromGitHub,
4   unstableGitUpdater,
5   stdenvNoCC,
6   ...
7 }:
9 stdenvNoCC.mkDerivation (self: {
10   pname = "alacritty-theme";
11   version = "0-unstable-2025-01-21";
13   src = fetchFromGitHub {
14     owner = "alacritty";
15     repo = "alacritty-theme";
16     rev = "69d07c3bc280add63906a1cebf6be326687bc9eb";
17     hash = "sha256-G8sUu8GD44uqUyQ7sZrgrGxC4IOfhSn++WIc+U67zL0=";
18     sparseCheckout = [ "themes" ];
19   };
21   dontConfigure = true;
22   dontBuild = true;
23   preferLocalBuild = true;
25   sourceRoot = "${self.src.name}/themes";
26   installPhase = ''
27     runHook preInstall
28     install -Dt $out *.toml
29     runHook postInstall
30   '';
32   passthru.updateScript = unstableGitUpdater {
33     hardcodeZeroVersion = true;
34   };
36   meta = with lib; {
37     description = "Collection of Alacritty color schemes";
38     homepage = "https://alacritty.org/";
39     license = licenses.asl20;
40     maintainers = [ maintainers.nicoo ];
41     platforms = platforms.all;
42   };