2023-03-15 16:39:30 +00:00
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "kitty-themes";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "unstable-2023-09-15";
|
2023-03-15 16:39:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kovidgoyal";
|
|
|
|
repo = "kitty-themes";
|
2023-10-09 19:29:22 +00:00
|
|
|
rev = "c9c12d20f83b9536febb21e4b53e176c0ccccb51";
|
|
|
|
hash = "sha256-dhzYTHaaTrbE5k+xEC01Y9jGb+ZmEyvWMb4a2WWKGCw=";
|
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;
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2023-03-15 16:39:30 +00:00
|
|
|
platforms = lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|