From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Boskovits=2C=20G=C3=A1bor?= Subject: [PATCH] gnu: Add lshw. Date: Tue, 7 Feb 2017 00:13:10 +0100 Message-ID: <20170206231310.5861-1-boskovits@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]:41799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1casTa-0003hT-Gp for guix-devel@gnu.org; Mon, 06 Feb 2017 18:13:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1casTV-0002Th-K4 for guix-devel@gnu.org; Mon, 06 Feb 2017 18:13:38 -0500 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:34673) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1casTV-0002Tb-Dm for guix-devel@gnu.org; Mon, 06 Feb 2017 18:13:33 -0500 Received: by mail-wr0-x243.google.com with SMTP id 89so3996917wrr.1 for ; Mon, 06 Feb 2017 15:13:33 -0800 (PST) List-Id: "Development of GNU Guix and the GNU System distribution." 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" To: guix-devel@gnu.org * gnu/packages/lshw.scm: New file. --- gnu/packages/lshw.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 gnu/packages/lshw.scm diff --git a/gnu/packages/lshw.scm b/gnu/packages/lshw.scm new file mode 100644 index 000000000..6b3b4ca0d --- /dev/null +++ b/gnu/packages/lshw.scm @@ -0,0 +1,34 @@ +(define-module (gnu packages lshw) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (guix licenses)) + +(define-public lshw + (package + (name "lshw") + (version "B.02.18") + (source (origin + (method url-fetch) + (uri (string-append "http://www.ezix.org/software/" + "files/lshw-" version + ".tar.gz")) + (sha256 + (base32 + "0brwra4jld0d53d7jsgca415ljglmmx1l2iazpj4ndilr48yy8mf")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases (delete 'configure));no configure + #:tests? #f + #:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out"))))) + (synopsis "Hardware Lister (lshw)") + (description + "lshw (Hardware Lister) is a small tool to provide detailed +information on the hardware configuration of the machine. It can +report exact memory configuration, firmware version, mainboard +configuration, CPU version and speed, cache configuration, bus speed, +etc. on DMI-capable x86 or EFI (IA-64) systems and on some PowerPC +machines (​PowerMac G4 is known to work).") + (home-page "http://www.ezix.org/project/wiki/HardwareLiSter") + (license gpl2))) -- 2.11.0