Re: [PATCH 2/2] gnu: Add lshw

2017-02-08 Thread Ludovic Courtès
Hello!

Gábor Boskovits  skribis:

> I would like to get some suggestion about which category this package
> belongs to.

Since it depends on interfaces specific to the kernel Linux, I’d suggest
putting it in linux.scm.

Please make sure to add a copyright line for yourself in there.
Apart from that it should be good!

Could you send an updated patch?

Thanks in advance,
Ludo’.



Re: [PATCH 2/2] gnu: Add lshw

2017-02-06 Thread Gábor Boskovits
I would like to get some suggestion about which category this package
belongs to.

2017-02-06 18:21 GMT+01:00 Boskovits, Gábor :

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


[PATCH 2/2] gnu: Add lshw

2017-02-06 Thread Boskovits , Gábor
---
 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 0..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