summary refs log tree commit diff
path: root/pkgs/misc/kitty-themes/default.nix
blob: f9ac2181a41c0f2ecca357c9ce6e342e5095f7f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 ];
  };
}