2023-03-15 16:39:30 +00:00
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
2023-03-15 16:39:30 +00:00
|
|
|
pname = "kitty-themes";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "unstable-2024-04-23";
|
2023-03-15 16:39:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kovidgoyal";
|
|
|
|
repo = "kitty-themes";
|
2024-05-15 15:35:15 +00:00
|
|
|
rev = "8026ce6ec70a0a67fedd02319e6fa39d36bbc1d1";
|
|
|
|
hash = "sha256-RN4YTcsVRg+3c+SEtKkJC8EvuNiiToduASMy/Rr+ZwA=";
|
2023-03-15 16:39:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontConfigure = true;
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
install -Dm644 -t $out/share/kitty-themes/ themes.json
|
|
|
|
mv themes $out/share/kitty-themes
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/kovidgoyal/kitty-themes";
|
|
|
|
description = "Themes for the kitty terminal emulator";
|
|
|
|
license = lib.licenses.gpl3Only;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
2023-03-15 16:39:30 +00:00
|
|
|
platforms = lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|