From: Raghav Gururajan <raghavgururajan@disroot.org>
To: 40752@debbugs.gnu.org
Subject: [bug#40752] gnu: Add eject.
Date: Tue, 21 Apr 2020 16:22:06 -0400 [thread overview]
Message-ID: <20200421162206.527fd8c8.raghavgururajan@disroot.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: 0002-gnu-Add-eject.patch --]
[-- Type: text/x-patch, Size: 2175 bytes --]
From a7fcab4e6ea2e61c4a18520a1a462250a503eba7 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Tue, 21 Apr 2020 16:20:27 -0400
Subject: [PATCH 2/2] gnu: Add eject.
* gnu/packages/disk.scm (eject): New variable.
---
gnu/packages/disk.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 573cc88c34..8b2a432e9c 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -66,6 +66,7 @@
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
#:use-module (gnu packages samba)
+ #:use-module (gnu packages scsi)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages swig)
@@ -86,6 +87,41 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages))
+(define-public eject
+ (package
+ (name "eject")
+ (version "2019.08.22")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://git.code.sf.net/p/eject/git")
+ (commit "12a22e")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dxj0zn32l8k16j5innh8y4snambx1b702ny37114drddqcqac6h"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; No target
+ #:make-flags
+ (list
+ (string-append "PREFIX=" (assoc-ref %outputs "out")))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("gettext" ,gettext-minimal)))
+ (inputs
+ `(("lvm2" ,lvm2)
+ ("sg3-utils" ,sg3-utils)))
+ (synopsis "Utility for Removable Media")
+ (description "Eject allows removable media (typically a CD-ROM, floppy disk,
+tape, or JAZ or ZIP disk) to be ejected under software control. The command can
+also control some multi-disc CD-ROM changers, the auto-eject feature supported
+by some devices, and close the disc tray of some CD-ROM drives. ")
+ (home-page "http://eject.sourceforge.net")
+ (license license:gpl2+)))
+
(define-public udevil
(package
(name "udevil")
--
2.26.1
next reply other threads:[~2020-04-21 20:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-21 20:22 Raghav Gururajan [this message]
2020-04-21 22:28 ` [bug#40752] gnu: Add eject Tobias Geerinckx-Rice via Guix-patches via
2020-04-22 6:55 ` Danny Milosavljevic
2020-04-23 1:21 ` Raghav Gururajan
2020-04-23 6:16 ` Jan Nieuwenhuizen
2020-04-24 18:46 ` Raghav Gururajan
2020-04-24 19:02 ` Raghav Gururajan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200421162206.527fd8c8.raghavgururajan@disroot.org \
--to=raghavgururajan@disroot.org \
--cc=40752@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.