unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add baobab.
@ 2016-02-13 22:14 Jochem Raat
  2016-02-14  2:11 ` Thompson, David
  0 siblings, 1 reply; 2+ messages in thread
From: Jochem Raat @ 2016-02-13 22:14 UTC (permalink / raw)
  To: guix-devel

Hi,

Here's my first package, feedback appreciated. This is my first time
sending a patch via email, so please tell me if I did it wrong.

From e1746af39470ff85937e1cf7f8d62b7c56b90cef Mon Sep 17 00:00:00 2001
From: Jochem Raat <jchmrt@riseup.net>
Date: Sat, 13 Feb 2016 22:03:39 +0100
Subject: [PATCH] gnu: Add baobab.

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

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 49e6197..170e8ee 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -13,6 +13,7 @@
 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
 ;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
+;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4648,3 +4649,35 @@ as SASL, TLS and VeNCrypt.  Additionally it supports encoding extensions.")
 design and behaviour, giving the user a simple way to navigate and manage its
 files.")
     (license license:gpl2+)))
+
+(define-public baobab
+  (package
+    (name "baobab")
+    (version "3.18.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://gnome/sources/" name "/"
+                    (version-major+minor version) "/"
+                    name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1da4bdkw5bnxansl1xr4lb03d6f4h0a0qaba8i3p3rwhcd191b62"))))
+    (build-system glib-or-gtk-build-system)
+    (native-inputs
+     `(("intltool" ,intltool)
+       ("pkg-config" ,pkg-config)
+       ("itstool" ,itstool)
+       ("xmllint" ,libxml2)
+       ("glib" ,glib "bin")
+       ("vala" ,vala)))
+    (inputs
+     `(("gtk+" ,gtk+)))
+    (synopsis "Disk usage analyzer for GNOME")
+    (description
+     "baobab (Disk Usage Analyzer) is a graphical application to analyse disk
+usage in any Gnome environment.  It can easily scan device volumes or a
+specific user-requested directory branch (local or remote).  Once the scan is
+complete it provides a graphical representation of each selected folder.")
+    (home-page "https://wiki.gnome.org/Apps/Baobab")
+    (license license:gpl2+)))
-- 
2.6.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: Add baobab.
  2016-02-13 22:14 [PATCH] gnu: Add baobab Jochem Raat
@ 2016-02-14  2:11 ` Thompson, David
  0 siblings, 0 replies; 2+ messages in thread
From: Thompson, David @ 2016-02-14  2:11 UTC (permalink / raw)
  To: Jochem Raat; +Cc: guix-devel

On Sat, Feb 13, 2016 at 5:14 PM, Jochem Raat <jchmrt@riseup.net> wrote:
> Hi,
>
> Here's my first package, feedback appreciated. This is my first time
> sending a patch via email, so please tell me if I did it wrong.

Welcome aboard!  The patch looks great!  It built successfully, ran
successfully, and 'guix lint' was happy.  I just made a minor change
to the description field and pushed it to master.  Thank you!

- Dave

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-14  2:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-13 22:14 [PATCH] gnu: Add baobab Jochem Raat
2016-02-14  2:11 ` Thompson, David

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).