guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 0860b4f262657faa8c1ffa07b02adb47244a04bd
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jul 10 11:52:26 2025 +0100

    gnu: Add go-github-com-jaypipes-pcidb.
    
    * gnu/packages/golang-xyz.scm (go-github-com-jaypipes-pcidb): New variable.
    
    Change-Id: I2048fbd0779afec7033bbaa209b74004050df3fe
---
 gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index cfcd66630c..d78879b60e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -9916,6 +9916,35 @@ oglematchers.Matcher} for time values
 @end itemize")
     (license license:asl2.0)))
 
+(define-public go-github-com-jaypipes-pcidb
+  (package
+    (name "go-github-com-jaypipes-pcidb")
+    (version "1.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jaypipes/pcidb";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "092wax6i7bn2lvwbz0rbbj17ly60n4b4n5ymy92w4d0mzxrn1ac4"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/jaypipes/pcidb"
+      ;; Expected no error creating PciInfo, but got No pci-ids DB files found
+      ;; (and network fetch disabled).
+      #:test-flags #~(list "-skip" "TestPCI")))
+    (propagated-inputs
+     (list go-github-com-mitchellh-go-homedir))
+    (home-page "https://github.com/jaypipes/pcidb";)
+    (synopsis "Query PCI database information")
+    (description
+     "@code{pcidb} is a small Golang library for programmatic querying of PCI
+vendor,product and class information.")
+    (license (list license:asl2.0 license:asl2.0))))
+
 (define-public go-github-com-jba-templatecheck
   (package
     (name "go-github-com-jba-templatecheck")

Reply via email to