Subject: [PATCH] gnu: Add numix-theme.

From: Giacomo Leidi <[email-masked]>
Date: Tue, 18 Jun 2019 01:58:05 +0200

* gnu/packages/gnome.scm (numix-theme): New variable
---
 gnu/packages/gnome.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 875d28caee..eeca6edd4b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -36,6 +36,7 @@
 ;;; Copyright © 2019 Danny Milosavljevic <[email-masked]>
 ;;; Copyright © 2019 Marius Bakke <[email-masked]>
 ;;; Copyright © 2019 Florian Pelz <[email-masked]>
+;;; Copyright © 2019 Giacomo Leidi <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -6880,6 +6881,39 @@ functionality and behavior.")
     (home-page "https://extensions.gnome.org/")
     (license license:gpl3+)))
 
+(define-public numix-theme
+  (package
+    (name "numix-theme")
+    (version "2.6.7")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/numixproject/numix-gtk-theme.git")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "12mw0kr0kkvg395qlbsvkvaqccr90cmxw5rrsl236zh43kj8grb7"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:make-flags (list (string-append "DESTDIR=" (assoc-ref %outputs "out")))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (delete 'check))))
+    (native-inputs
+     `(("glib:bin" ,glib "bin")             ; for glib-compile-schemas
+       ("gnome-shell" ,gnome-shell)
+       ("gtk+" ,gtk+)
+       ("xmllint" ,libxml2)
+       ("ruby-sass" ,ruby-sass)))
+    (synopsis "Numix is a modern flat theme with a combination of light
+ and dark elements")
+    (description "A modern flat theme with a combination of light and dark elements.
+ It supports GNOME, Unity, Xfce and Openbox.")
+    (home-page "https://numixproject.github.io")
+    (license license:gpl3+)))
+
 (define-public arc-theme
   (package
     (name "arc-theme")
-- 
2.22.0