From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:37916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1DtD-0000ni-QN for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1DtC-0005dw-Vl for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1DtC-0005dC-RS for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h1DtC-0002bL-Jv for guix-patches@gnu.org; Tue, 05 Mar 2019 12:30:02 -0500 Subject: [bug#34758] [PATCH 2/4] gnu: Add vhba. References: <20190305172620.20118-1-mail@ambrevar.xyz> In-Reply-To: <20190305172620.20118-1-mail@ambrevar.xyz> Resent-Message-ID: From: Pierre Neidhardt Date: Tue, 5 Mar 2019 18:28:51 +0100 Message-Id: <20190305172853.21358-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34758@debbugs.gnu.org * 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