5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
36 lines
823 B
Nix
36 lines
823 B
Nix
{ lib
|
|
, stdenvNoCC
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "kitty-themes";
|
|
version = "unstable-2024-04-23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kovidgoyal";
|
|
repo = "kitty-themes";
|
|
rev = "8026ce6ec70a0a67fedd02319e6fa39d36bbc1d1";
|
|
hash = "sha256-RN4YTcsVRg+3c+SEtKkJC8EvuNiiToduASMy/Rr+ZwA=";
|
|
};
|
|
|
|
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;
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|