Subject: [bug#66453] [PATCH 2/4] gnu: Add kicad-color-theme-behave-dark.

From: [email-masked]
Date: Tue, 10 Oct 2023 16:05:12 -0400

From: Peter Polidoro <[email-masked]>

* gnu/packages/engineering.scm (kicad-color-theme-behave-dark): New variable.
---
 gnu/packages/engineering.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index cad419ef70..ba0181479d 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1309,6 +1309,34 @@ (define-public kicad-templates
     (description "This package contains the official KiCad project and
 worksheet templates.")))
 
+(define-public kicad-color-theme-behave-dark
+  (let ((commit "68ea0402f334bdbae175f6ca924743640c07183d"))
+    (package
+      (name "kicad-color-theme-behave-dark")
+      (version "1.2")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/pointhi/kicad-color-schemes.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1viqfq13ch6xpfhs58vh9b7q1xcwqscczr7lsv220cxr48xhb21x"))))
+      (build-system copy-build-system)
+      (arguments
+       (list
+        #:install-plan
+        #~'(("behave-dark/behave-dark.json" "share/kicad/3rdparty/colors/behave-dark/behave-dark.json"))
+        #:modules '(((guix build gnu-build-system) #:prefix gnu:)
+                    (guix build copy-build-system)
+                    (guix build utils)
+                    (ice-9 match))))
+      (home-page "https://github.com/pointhi/kicad-color-schemes")
+      (synopsis "Behave dark theme for KiCad")
+      (description "This package provides a KiCad dark color theme based on the Atom behave theme.")
+      (license license:cc0))))
+
 (define-public librseq
   ;; There's no release.
   (let ((commit "170f840b498e1aff068b90188727a656111bfc2f")
-- 
2.41.0