2023-03-15 16:39:30 +00:00
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchFromGitHub
|
2024-06-05 15:53:02 +00:00
|
|
|
, unstableGitUpdater
|
2023-03-15 16:39:30 +00:00
|
|
|
}:
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
2023-03-15 16:39:30 +00:00
|
|
|
pname = "kitty-themes";
|
2024-07-01 15:47:52 +00:00
|
|
|
version = "0-unstable-2024-06-26";
|
2023-03-15 16:39:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kovidgoyal";
|
|
|
|
repo = "kitty-themes";
|
2024-07-01 15:47:52 +00:00
|
|
|
rev = "522b2bc8631cfe28a1b230d1b774f911eab17cf3";
|
|
|
|
hash = "sha256-LYiTp18Qk/rF+n9OuVG4kHDQEbE+ijWKQHA2AIDV4wQ=";
|
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
|
|
|
|
'';
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
|
|
hardcodeZeroVersion = true;
|
|
|
|
};
|
|
|
|
|
2023-03-15 16:39:30 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|