83627f9931
GitOrigin-RevId: 2893f56de08021cffd9b6b6dfc70fd9ccd51eb60
40 lines
907 B
Nix
40 lines
907 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, unstableGitUpdater
|
|
, stdenvNoCC
|
|
, ... }:
|
|
|
|
stdenvNoCC.mkDerivation (self: {
|
|
pname = "alacritty-theme";
|
|
version = "0-unstable-2024-06-17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alacritty";
|
|
repo = "alacritty-theme";
|
|
rev = "a4041aeea19d425b63f7ace868917da26aa189bd";
|
|
hash = "sha256-A5Xlu6kqB04pbBWMi2eL+pp6dYi4MzgZdNVKztkJhcg=";
|
|
};
|
|
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
preferLocalBuild = true;
|
|
|
|
sourceRoot = "${self.src.name}/themes";
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -Dt $out *.toml
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
hardcodeZeroVersion = true;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Collection of Alacritty color schemes";
|
|
homepage = "https://alacritty.org/";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.nicoo ];
|
|
platforms = platforms.all;
|
|
};
|
|
})
|