2023-11-16 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
2024-05-15 15:35:15 +00:00
|
|
|
, unstableGitUpdater
|
2023-11-16 04:20:00 +00:00
|
|
|
, stdenvNoCC
|
|
|
|
, ... }:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation (self: {
|
2024-05-15 15:35:15 +00:00
|
|
|
pname = "alacritty-theme";
|
2024-06-24 18:47:55 +00:00
|
|
|
version = "0-unstable-2024-06-17";
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alacritty";
|
|
|
|
repo = "alacritty-theme";
|
2024-06-24 18:47:55 +00:00
|
|
|
rev = "a4041aeea19d425b63f7ace868917da26aa189bd";
|
|
|
|
hash = "sha256-A5Xlu6kqB04pbBWMi2eL+pp6dYi4MzgZdNVKztkJhcg=";
|
2023-11-16 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
|
|
|
preferLocalBuild = true;
|
|
|
|
|
|
|
|
sourceRoot = "${self.src.name}/themes";
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2024-01-13 08:15:51 +00:00
|
|
|
install -Dt $out *.toml
|
2023-11-16 04:20:00 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
|
|
hardcodeZeroVersion = true;
|
2023-11-16 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Collection of Alacritty color schemes";
|
|
|
|
homepage = "https://alacritty.org/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.nicoo ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
})
|