[bug#36465] Add evisum.
diff mbox series

Message ID 20190701180635.GC32285@macbook41
State New
Headers show
Series
  • [bug#36465] Add evisum.
Related show

Commit Message

Efraim Flashner July 1, 2019, 6:06 p.m. UTC
I've had this one for a while and figured I should send it off already.

Comments

Ludovic Courtès July 12, 2019, 9:43 p.m. UTC | #1
Hello,

Efraim Flashner <efraim@flashner.co.il> skribis:

> From bc9b9c506b908af0db6d77347cc8b4bcf5700dbf Mon Sep 17 00:00:00 2001
> From: Efraim Flashner <efraim@flashner.co.il>
> Date: Mon, 1 Jul 2019 21:03:16 +0300
> Subject: [PATCH] gnu: Add evisum.
>
> * gnu/packages/enlightenment.scm (evisum): New variable.

LGTM, thanks!

Ludo’.
Efraim Flashner July 14, 2019, 8:04 a.m. UTC | #2
Patch pushed

Patch
diff mbox series

diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm
index 8bec452265..8a59bedb15 100644
--- a/gnu/packages/enlightenment.scm
+++ b/gnu/packages/enlightenment.scm
@@ -520,3 +520,37 @@  directories.
     (license (list
                license:bsd-2 ; Ephoto's thumbnailing code
                license:bsd-3))))
+
+(define-public evisum
+  (package
+    (name "evisum")
+    (version "0.2.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://download.enlightenment.org/rel/apps/"
+                            "evisum/evisum-" version ".tar.xz"))
+        (sha256
+         (base32
+          "1lj62n896kablsl687c66yxrwajrh6ralb3y6nmcqv34pglnigca"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:tests? #f   ; no tests
+       #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure) ; no configure phase
+         (add-after 'unpack 'set-environmental-variables
+           (lambda _ (setenv "CC" (which "gcc")) #t)))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("alsa-lib" ,alsa-lib)
+       ("efl" ,efl)
+       ("perl" ,perl)))
+    (home-page "https://www.enlightenment.org")
+    (synopsis "EFL process viewer")
+    (description
+     "This is a process monitor and system monitor using the
+@dfn{Enlightenment Foundation Libraries} (EFL).")
+    (license license:bsd-2)))