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 <jch...@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 <da...@gnu.org> ;;; Copyright © 2015, 2016 Efraim Flashner <efr...@flashner.co.il> ;;; Copyright © 2016 Rene Saavedra <ren...@openmailbox.org> +;;; Copyright © 2016 Jochem Raat <jch...@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