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-06-20 14:57:18 +00:00
|
|
|
version = "0-unstable-2024-06-12";
|
2023-03-15 16:39:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kovidgoyal";
|
|
|
|
repo = "kitty-themes";
|
2024-06-20 14:57:18 +00:00
|
|
|
rev = "9589f0dffc817d6e8b86a5b2dc56d7c3db201a9b";
|
|
|
|
hash = "sha256-8bZkYFb/HOIg2Uk7b/Apn30AAlRF0ztLh27AUlHW6Wk=";
|
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;
|
|
|
|
};
|
|
|
|
}
|