depot/third_party/nixpkgs/pkgs/applications/terminal-emulators/kitty/themes.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

41 lines
931 B
Nix

{ lib
, stdenvNoCC
, fetchFromGitHub
, unstableGitUpdater
}:
stdenvNoCC.mkDerivation {
pname = "kitty-themes";
version = "0-unstable-2024-05-28";
src = fetchFromGitHub {
owner = "kovidgoyal";
repo = "kitty-themes";
rev = "891ca835de3112e69f1dfc87fd6cfab354a30f25";
hash = "sha256-Ah5qR5tMy1JlmT4rgYdHags4ZuuAOz1wzoByjo8T8TI=";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
install -Dm644 -t $out/share/kitty-themes/ themes.json
mv themes $out/share/kitty-themes
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater {
hardcodeZeroVersion = true;
};
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;
};
}