alacritty-theme: init at unstable-2023-10-12

This commit is contained in:
nicoo 2023-10-23 17:33:14 +00:00
parent 924c682627
commit 53d0f6b8e3
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, fetchFromGitHub
, nix-update-script
, stdenvNoCC
, ... }:
stdenvNoCC.mkDerivation (self: {
name = "alacritty-theme";
version = "unstable-2023-10-12";
src = fetchFromGitHub {
owner = "alacritty";
repo = "alacritty-theme";
rev = "4cb179606c3dfc7501b32b6f011f9549cee949d3";
hash = "sha256-Ipe6LHr83oBdBMV3u4xrd+4zudHXiRBamUa/cOuHleY=";
};
dontConfigure = true;
dontBuild = true;
preferLocalBuild = true;
sourceRoot = "${self.src.name}/themes";
installPhase = ''
runHook preInstall
install -Dt $out *.yaml
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;
};
})

View File

@ -29020,6 +29020,8 @@ with pkgs;
aileron = callPackage ../data/fonts/aileron { };
alacritty-theme = callPackage ../data/themes/alacritty-theme { };
albatross = callPackage ../data/themes/albatross { };
alegreya = callPackage ../data/fonts/alegreya { };