From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: =?UTF-8?q?=5BPATCH=201/2=20v2=5D=20gnu=3A=20Add=20htop=2E?= Date: Fri, 30 Aug 2013 23:07:16 +0200 Message-ID: <1377896837-6547-1-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]:50665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFVyX-0002Z0-HW for guix-devel@gnu.org; Fri, 30 Aug 2013 17:11:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFVyS-0000Ku-If for guix-devel@gnu.org; Fri, 30 Aug 2013 17:11:25 -0400 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:52531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFVyS-0000Kn-BT for guix-devel@gnu.org; Fri, 30 Aug 2013 17:11:20 -0400 Received: by mail-wi0-f181.google.com with SMTP id c10so72264wiw.2 for ; Fri, 30 Aug 2013 14:11:19 -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 | 46 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 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..e7ee51f --- /dev/null +++ b/gnu/packages/sysutils.scm @@ -0,0 +1,46 @@ +;;; 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") + (description + "This is htop, an interactive process viewer. It is a text-mode +application (for console or X terminals) and requires ncurses.") + (license gpl2))) -- 1.7.10.4