From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: =?UTF-8?q?=5BPATCH=201/2=5D=20gnu=3A=20Add=20htop=2E?= Date: Fri, 30 Aug 2013 22:08:35 +0200 Message-ID: <1377893316-5136-2-git-send-email-tipecaml@gmail.com> References: <1377893316-5136-1-git-send-email-tipecaml@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFV3n-0000Ud-Qv for guix-devel@gnu.org; Fri, 30 Aug 2013 16:12:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFV3g-0005T0-MW for guix-devel@gnu.org; Fri, 30 Aug 2013 16:12:47 -0400 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:50118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFV3g-0005Sv-5F for guix-devel@gnu.org; Fri, 30 Aug 2013 16:12:40 -0400 Received: by mail-we0-f173.google.com with SMTP id x54so2005774wes.32 for ; Fri, 30 Aug 2013 13:12:39 -0700 (PDT) In-Reply-To: <1377893316-5136-1-git-send-email-tipecaml@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/sysutils.scm: New file. * gnu-system.am: Add it. --- gnu-system.am | 1 + gnu/packages/sysutils.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 gnu/packages/sysutils.scm diff --git a/gnu-system.am b/gnu-system.am index 2600858..fc1872e 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -155,6 +155,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/sqlite.scm \ gnu/packages/ssh.scm \ gnu/packages/system.scm \ + gnu/packages/sysutils.scm \ gnu/packages/tcl.scm \ gnu/packages/tcsh.scm \ gnu/packages/texinfo.scm \ diff --git a/gnu/packages/sysutils.scm b/gnu/packages/sysutils.scm new file mode 100644 index 0000000..c79ac90 --- /dev/null +++ b/gnu/packages/sysutils.scm @@ -0,0 +1,47 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2013 Cyril Roelandt +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages sysutils) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (gnu packages) + #:use-module (gnu packages ncurses)) + +(define-public htop + (package + (name "htop") + (version "1.0.2") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/htop/" + version "/htop-" version ".tar.gz")) + (sha256 + (base32 + "18fqrhvnm7h4c3939av8lpiwrwxbyw6hcly0jvq0vkjf0ixnaq7f")))) + (build-system gnu-build-system) + (inputs + `(("ncurses" ,ncurses))) + (home-page "http://htop.sourceforge.net/") + (synopsis "An interactive process viewer for Linux") + (description + "This is htop, an interactive process viewer for Linux. It is a text-mode +application (for console or X terminals) and requires ncurses.") + (license gpl2))) -- 1.7.10.4