summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-04-05 00:13:49 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-04-05 00:53:39 +0200
commit903abee18d30a32ab16baa9ea9da7279275b0700 (patch)
tree9d5deef775d32817a8051a3646da882bf9175c21 /gnu/packages
parent4d399729c84edb3261211d35caabd7486be195b6 (diff)
downloadguix-903abee18d30a32ab16baa9ea9da7279275b0700.tar.gz
gnu: Add java-flatlaf-intellij-themes.
* gnu/packages/java-graphics.scm (java-flatlaf-intellij-themes): New variable.

Change-Id: Ia6f47533dc37a5b4602971e3179fdd084b1af9f9
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/java-graphics.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/java-graphics.scm b/gnu/packages/java-graphics.scm
index 2b14fe30b1..1e551ae897 100644
--- a/gnu/packages/java-graphics.scm
+++ b/gnu/packages/java-graphics.scm
@@ -217,6 +217,27 @@ The look is heavily inspired by Darcula and IntelliJ themes from IntelliJ IDEA
 2019.2+ and uses almost the same colors and icons.")
     (license license:asl2.0)))
 
+(define-public java-flatlaf-intellij-themes
+  (package
+    (inherit java-flatlaf)
+    (name "java-flatlaf-intellij-themes")
+    (arguments
+     (list
+      #:tests? #false                   ;there are none
+      #:jar-name "flatlaf-intellij-themes.jar"
+      #:source-dir '(list "flatlaf-intellij-themes/src/main/java")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'build 'copy-resources
+            (lambda _
+              (copy-recursively "flatlaf-intellij-themes/src/main/resources"
+                                "build/classes"))))))
+    (inputs (list java-flatlaf))
+    (synopsis "FlatLaf addon with popular themes")
+    (description "This addon for FlatLaf bundles many popular third party
+themes from JetBrains Plugins Repository into a JAR and provides Java classes
+to use them.")))
+
 (define-public java-piccolo2d-core
   (package
     (name "java-piccolo2d-core")