base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / al / alacritty-theme / package.nix
blobcccac4656a646112ea91e215266f926cc9ca42be
1 { lib
2 , fetchFromGitHub
3 , unstableGitUpdater
4 , stdenvNoCC
5 , ... }:
7 stdenvNoCC.mkDerivation (self: {
8   pname = "alacritty-theme";
9   version = "0-unstable-2024-10-24";
11   src = fetchFromGitHub {
12     owner = "alacritty";
13     repo = "alacritty-theme";
14     rev = "c424c57c8a2b6a62b6602d61ebfbc7e50f2c81d8";
15     hash = "sha256-KdjysVDs4oGU9gQwkW36aHmK30KiCdVNiREJOAETxNw=";
16   };
18   dontConfigure = true;
19   dontBuild = true;
20   preferLocalBuild = true;
22   sourceRoot = "${self.src.name}/themes";
23   installPhase = ''
24     runHook preInstall
25     install -Dt $out *.toml
26     runHook postInstall
27   '';
29   passthru.updateScript = unstableGitUpdater {
30     hardcodeZeroVersion = true;
31   };
33   meta = with lib; {
34     description = "Collection of Alacritty color schemes";
35     homepage = "https://alacritty.org/";
36     license = licenses.asl20;
37     maintainers = [ maintainers.nicoo ];
38     platforms = platforms.all;
39   };