From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: [PATCH] gnu: Add lshw. Date: Tue, 7 Feb 2017 00:14:56 +0100 Message-ID: References: <20170206231310.5861-1-boskovits@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11446e28c3e85b0547e4cc08 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1casUt-00043C-3P for guix-devel@gnu.org; Mon, 06 Feb 2017 18:15:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1casUs-00038C-07 for guix-devel@gnu.org; Mon, 06 Feb 2017 18:14:59 -0500 Received: from mail-vk0-x243.google.com ([2607:f8b0:400c:c05::243]:36536) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1casUr-000382-RR for guix-devel@gnu.org; Mon, 06 Feb 2017 18:14:57 -0500 Received: by mail-vk0-x243.google.com with SMTP id n125so1007068vke.3 for ; Mon, 06 Feb 2017 15:14:57 -0800 (PST) In-Reply-To: <20170206231310.5861-1-boskovits@gmail.com> 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 --001a11446e28c3e85b0547e4cc08 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This is updated version of patch following guidelines more closely. Please ignore previous. 2017-02-07 0:13 GMT+01:00 Boskovits, G=C3=A1bor : > * 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 > + "0brwra4jld0d53d7jsgca415ljglmm > x1l2iazpj4ndilr48yy8mf")))) > + (build-system gnu-build-system) > + (arguments > + `(#:phases (modify-phases %standard-phases (delete 'configure));no > configure > + #:tests? #f > + #:make-flags > + (list (string-append "PREFIX=3D" (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 (=E2=80=8BPowerMac G4 is known to work).") > + (home-page "http://www.ezix.org/project/wiki/HardwareLiSter") > + (license gpl2))) > -- > 2.11.0 > > --001a11446e28c3e85b0547e4cc08 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This is updated version of patch following guidelines more= closely. Please ignore previous.

<= div class=3D"gmail_quote">2017-02-07 0:13 GMT+01:00 Boskovits, G=C3=A1bor <= span dir=3D"ltr"><boskovits@gmail.com>:
* = gnu/packages/lshw.scm: New file.
---
=C2=A0gnu/packages/lshw.scm | 34 ++++++++++++++++++++++++++++++++++ =C2=A01 file changed, 34 insertions(+)
=C2=A0create 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)
+=C2=A0 #:use-module (guix packages)
+=C2=A0 #:use-module (guix download)
+=C2=A0 #:use-module (guix build-system gnu)
+=C2=A0 #:use-module (guix licenses))
+
+(define-public lshw
+=C2=A0 (package
+=C2=A0 =C2=A0 (name "lshw")
+=C2=A0 =C2=A0 (version "B.02.18")
+=C2=A0 =C2=A0 (source (origin
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (method url-fetch)
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (uri (string-append "= ;http://www.ezix.org/software/"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "files/lshw-" versi= on
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ".tar.gz"))
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (sha256
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(base32
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "0brwra4= jld0d53d7jsgca415ljglmmx1l2iazpj4ndilr48yy8mf"))))
+=C2=A0 =C2=A0 (build-system gnu-build-system)
+=C2=A0 =C2=A0 (arguments
+=C2=A0 =C2=A0 =C2=A0 `(#:phases (modify-phases %standard-phases (delete &#= 39;configure));no configure
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 #:tests? #f
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 #:make-flags
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (list (string-append "PREFIX=3D&qu= ot; (assoc-ref %outputs "out")))))
+=C2=A0 =C2=A0 (synopsis "Hardware Lister (lshw)")
+=C2=A0 =C2=A0 (description
+=C2=A0 =C2=A0 =C2=A0"lshw (Hardware Lister) is a small tool to provid= e detailed
+information on the hardware configuration of the machine.=C2=A0 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 (=E2=80=8BPowerMac G4 is known to work).")
+=C2=A0 =C2=A0 (home-page "http://www.ezix.org/p= roject/wiki/HardwareLiSter")
+=C2=A0 =C2=A0 (license gpl2)))
--
2.11.0


--001a11446e28c3e85b0547e4cc08--