guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#34758] [PATCH 2/4] gnu: Add vhba.


From: Pierre Neidhardt
Subject: [bug#34758] [PATCH 2/4] gnu: Add vhba.
Date: Tue, 5 Mar 2019 18:28:51 +0100

* gnu/packages/cdrom.scm (vhba): New variable.
---
 gnu/packages/cdrom.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 846ce705b..67b234e47 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -888,3 +888,31 @@ CD data, and more.  It's mostly compatible with 
@code{cdrtools}.")
 in C and based on GLib.  Its aim is to provide uniform access to the data
 stored in various image formats.")
     (license gpl2+)))
+
+(define-public vhba-module
+  (package
+    (name "vhba-module")
+    (version "20170610")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://downloads.sourceforge.net/cdemu/vhba-module-";
+                    version ".tar.bz2"))
+              (sha256
+               (base32
+                "1v6r0bgx0a65vlh36b1l2965xybngbpga6rp54k4z74xk0zwjw3r"))))
+    (build-system gnu-build-system)
+    (arguments
+     ;; TODO: No tests?
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         ;; TODO: Compress kernel modules?
+         ;; TODO: Build does not work because it needs the Makefile in
+         ;; /lib/modules/$(KERNELRELEASE)/build which we don't ship in Guix.
+         (delete 'configure))))
+    (home-page "https://cdemu.sourceforge.io/";)
+    (synopsis "Kernel module that emulates SCSI devices")
+    (description "VHBA module provides a Virtual (SCSI) HBA, which is the link
+between the CDemu userspace daemon and linux kernel.")
+    (license gpl2+)))
-- 
2.20.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]