depot/third_party/nixpkgs/pkgs/applications/terminal-emulators/kitty/themes.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

36 lines
812 B
Nix

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