Merge pull request #263004 from nbraud/pkgs/alacritty-theme

alacritty-theme: init at unstable-2023-10-12
This commit is contained in:
Felix Bühler 2023-10-28 17:28:28 +02:00 committed by GitHub
commit 189d264171
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -29012,6 +29012,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 { };