forked from mirrors/nixpkgs
Merge pull request #263004 from nbraud/pkgs/alacritty-theme
alacritty-theme: init at unstable-2023-10-12
This commit is contained in:
commit
189d264171
40
pkgs/data/themes/alacritty-theme/default.nix
Normal file
40
pkgs/data/themes/alacritty-theme/default.nix
Normal 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;
|
||||
};
|
||||
})
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue