about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ca/catppuccin-qt5ct/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/ca/catppuccin-qt5ct/package.nix')
-rw-r--r--nixpkgs/pkgs/by-name/ca/catppuccin-qt5ct/package.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/ca/catppuccin-qt5ct/package.nix b/nixpkgs/pkgs/by-name/ca/catppuccin-qt5ct/package.nix
new file mode 100644
index 000000000000..f9b7a85c8cfb
--- /dev/null
+++ b/nixpkgs/pkgs/by-name/ca/catppuccin-qt5ct/package.nix
@@ -0,0 +1,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;
+  };
+}