about summary refs log tree commit diff
path: root/pkgs/misc/kitty-themes
diff options
context:
space:
mode:
authorNelson Jeppesen <50854675+NelsonJeppesen@users.noreply.github.com>2022-01-04 10:40:25 -0800
committerNelson Jeppesen <50854675+NelsonJeppesen@users.noreply.github.com>2022-02-06 16:37:15 -0800
commitaae194d8b236bd41c94cdcc0b85f01a2cc9f783d (patch)
treef74c6d0e72c2672a65ca0e9969cb945789e8c470 /pkgs/misc/kitty-themes
parentfbd030fb2d8dc9fedcb45e57cbce5e9e064bfb6c (diff)
kitty-themes: init at unstable-2022-02-03
Diffstat (limited to 'pkgs/misc/kitty-themes')
-rw-r--r--pkgs/misc/kitty-themes/default.nix27
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 ];
+  };
+}