unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Boskovits, Gábor" <boskovits@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add lshw.
Date: Tue,  7 Feb 2017 00:13:10 +0100	[thread overview]
Message-ID: <20170206231310.5861-1-boskovits@gmail.com> (raw)

* 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

             reply	other threads:[~2017-02-06 23:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-06 23:13 Boskovits, Gábor [this message]
2017-02-06 23:14 ` [PATCH] gnu: Add lshw Gábor Boskovits
2017-02-07 17:00 ` Marius Bakke
2017-02-08  2:02   ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170206231310.5861-1-boskovits@gmail.com \
    --to=boskovits@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).