98eb3e9ef5
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
41 lines
931 B
Nix
41 lines
931 B
Nix
{ lib
|
|
, stdenvNoCC
|
|
, fetchFromGitHub
|
|
, unstableGitUpdater
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "kitty-themes";
|
|
version = "0-unstable-2024-06-26";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kovidgoyal";
|
|
repo = "kitty-themes";
|
|
rev = "522b2bc8631cfe28a1b230d1b774f911eab17cf3";
|
|
hash = "sha256-LYiTp18Qk/rF+n9OuVG4kHDQEbE+ijWKQHA2AIDV4wQ=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|