unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add lshw.
@ 2017-02-06 23:13 Boskovits, Gábor
  2017-02-06 23:14 ` Gábor Boskovits
  2017-02-07 17:00 ` Marius Bakke
  0 siblings, 2 replies; 4+ messages in thread
From: Boskovits, Gábor @ 2017-02-06 23:13 UTC (permalink / raw)
  To: guix-devel

* 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add lshw.
  2017-02-06 23:13 [PATCH] gnu: Add lshw Boskovits, Gábor
@ 2017-02-06 23:14 ` Gábor Boskovits
  2017-02-07 17:00 ` Marius Bakke
  1 sibling, 0 replies; 4+ messages in thread
From: Gábor Boskovits @ 2017-02-06 23:14 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2062 bytes --]

This is updated version of patch following guidelines more closely. Please
ignore previous.

2017-02-07 0:13 GMT+01:00 Boskovits, Gábor <boskovits@gmail.com>:

> * 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=" (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
>
>

[-- Attachment #2: Type: text/html, Size: 2930 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add lshw.
  2017-02-06 23:13 [PATCH] gnu: Add lshw Boskovits, Gábor
  2017-02-06 23:14 ` Gábor Boskovits
@ 2017-02-07 17:00 ` Marius Bakke
  2017-02-08  2:02   ` Leo Famulari
  1 sibling, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2017-02-07 17:00 UTC (permalink / raw)
  To: Boskovits, Gábor, guix-devel

[-- Attachment #1: Type: text/plain, Size: 1562 bytes --]

"Boskovits, Gábor" <boskovits@gmail.com> writes:

> +(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)))

Thank you for this! I moved it to linux.scm, added a copyright line for
you and changed the URLs to use HTTPS. Also did very minor tweaks to
description.

Pushed as 189d8422573bdcb9392dad76426ab3e9518017ec !

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] gnu: Add lshw.
  2017-02-07 17:00 ` Marius Bakke
@ 2017-02-08  2:02   ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2017-02-08  2:02 UTC (permalink / raw)
  To: Marius Bakke; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 270 bytes --]

On Tue, Feb 07, 2017 at 06:00:37PM +0100, Marius Bakke wrote:
> "Boskovits, Gábor" <boskovits@gmail.com> writes:
> 
> > +(define-public lshw
> 
> Pushed as 189d8422573bdcb9392dad76426ab3e9518017ec !

Woo-hoo! I missed this one recently. Thanks Gábor and Marius!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-08  2:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-06 23:13 [PATCH] gnu: Add lshw Boskovits, Gábor
2017-02-06 23:14 ` Gábor Boskovits
2017-02-07 17:00 ` Marius Bakke
2017-02-08  2:02   ` Leo Famulari

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).