about summary refs log tree commit diff
path: root/pkgs/applications/terminal-emulators/kitty
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-03-12 14:25:25 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-03-12 14:42:55 -0300
commit0871493aa51c575f00c3418729fde24db77d9d13 (patch)
treea48ceafd7d7496f1108bb1eb3a748d88d4a2d280 /pkgs/applications/terminal-emulators/kitty
parent463f5558994491f1bc70e03a2a057f15bd56518b (diff)
kitty-themes: move to kitty directory
Diffstat (limited to 'pkgs/applications/terminal-emulators/kitty')
-rw-r--r--pkgs/applications/terminal-emulators/kitty/themes.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/terminal-emulators/kitty/themes.nix b/pkgs/applications/terminal-emulators/kitty/themes.nix
new file mode 100644
index 0000000000000..f9ac2181a41c0
--- /dev/null
+++ b/pkgs/applications/terminal-emulators/kitty/themes.nix
@@ -0,0 +1,27 @@
+{ fetchFromGitHub, lib, stdenv }:
+
+stdenv.mkDerivation rec {
+  pname = "kitty-themes";
+  version = "unstable-2023-01-08";
+
+  src = fetchFromGitHub {
+    owner = "kovidgoyal";
+    repo = pname;
+    rev = "e0bb9d751033e82e455bf658744872c83f04b89d";
+    sha256 = "sha256-ol/AWScGsskoxOEW32aGkJFgg8V6pIujoYIMQaVskWM=";
+  };
+
+  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 ];
+  };
+}