about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ca/catppuccin-qt5ct/package.nix
blob: f9b7a85c8cfb91d965b525221f84aa1c2f7e8e61 (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
28
29
30
31
{
  lib,
  stdenvNoCC,
  fetchFromGitHub,
}:
stdenvNoCC.mkDerivation {
  pname = "catppuccin-qt5ct";
  version = "2023-03-21";

  src = fetchFromGitHub {
    owner = "catppuccin";
    repo = "qt5ct";
    rev = "89ee948e72386b816c7dad72099855fb0d46d41e";
    hash = "sha256-t/uyK0X7qt6qxrScmkTU2TvcVJH97hSQuF0yyvSO/qQ=";
  };

  installPhase = ''
    runHook preInstall
    mkdir -p $out/share/qt5ct
    cp -r themes $out/share/qt5ct/colors
    runHook postInstall
  '';

  meta = with lib; {
    description = "Soothing pastel theme for qt5ct";
    homepage = "https://github.com/catppuccin/qt5ct";
    license = licenses.mit;
    maintainers = with maintainers; [pluiedev];
    platforms = platforms.all;
  };
}