[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54069] [PATCH 1/2] gnu: Add hwdata.
From: |
Brendan Tildesley |
Subject: |
[bug#54069] [PATCH 1/2] gnu: Add hwdata. |
Date: |
Sun, 20 Feb 2022 20:55:56 +1100 |
* gnu/packages/pciutils.scm (hwdata): New variable.
---
gnu/packages/pciutils.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/pciutils.scm b/gnu/packages/pciutils.scm
index b6b1e3ad85..416328bda2 100644
--- a/gnu/packages/pciutils.scm
+++ b/gnu/packages/pciutils.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2022 Brendan Tildesley <mail@brendan.scot>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -25,7 +26,9 @@ (define-module (gnu packages pciutils)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix utils)
+ #:use-module (guix git-download)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system copy)
#:use-module (gnu packages)
#:use-module (gnu packages compression)
#:use-module (gnu packages pkg-config)
@@ -33,6 +36,32 @@ (define-module (gnu packages pciutils)
#:use-module (gnu packages linux)
#:use-module (gnu packages base))
+(define-public hwdata
+ (package
+ (name "hwdata")
+ (version "0.356")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vcrhonek/hwdata")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0m04d93dwiplwp9v74nhnc0hyi2n007mylkg8f0frb46z5qjrpl3"))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan '(("pci.ids" "share/hwdata/pci.ids")
+ ("pnp.ids" "share/hwdata/pnp.ids")
+ ("usb.ids" "share/hwdata/usb.ids"))))
+ (home-page "https://pci-ids.ucw.cz")
+ (synopsis "Hardware identification databases")
+ (description "Hardware databases pci.ids, pnp.ids, and usb.ids including
+all known ID's used in PCI devices: ID's of vendors, devices, subsystems and
+device classes.")
+ (license (list license:gpl2+
+ license:expat)))) ;; XFree86 1.0
+;;
(define-public pciutils
(package
(name "pciutils")
--
2.34.0
[bug#54069] [PATCH 0/2] gnu: pciutils: Unbundle pci.ids and use latest., John Kehayias, 2022/02/21