diff options
Diffstat (limited to 'pkgs/misc/kitty-themes/default.nix')
-rw-r--r-- | pkgs/misc/kitty-themes/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/misc/kitty-themes/default.nix b/pkgs/misc/kitty-themes/default.nix new file mode 100644 index 0000000000000..16bfa3a54b7f9 --- /dev/null +++ b/pkgs/misc/kitty-themes/default.nix @@ -0,0 +1,27 @@ +{ fetchFromGitHub, lib, stdenv }: + +stdenv.mkDerivation rec { + pname = "kitty-themes"; + version = "unstable-2022-02-03"; + + src = fetchFromGitHub { + owner = "kovidgoyal"; + repo = pname; + rev = "337d6fcb3ad7e38544edfb8d0f6447894b7e5f58"; + sha256 = "ZP5GrT2QCdXtC5swqI0SXzIlqIcQNsxBlzEplj/hpz4="; + }; + + installPhase = '' + mkdir -p $out/themes + mv themes.json $out + mv themes/*.conf $out/themes + ''; + + meta = with lib; { + homepage = "https://github.com/kovidgoyal/kitty-themes"; + description = "Themes for the kitty terminal emulator"; + license = licenses.gpl3Only; + platforms = platforms.all; + maintainers = with maintainers; [ nelsonjeppesen ]; + }; +} |