all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tobias.geerinckx.rice@gmail.com
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add sdparm.
Date: Tue,  2 Feb 2016 01:20:06 +0100	[thread overview]
Message-ID: <1454372406-13321-2-git-send-email-tobias.geerinckx.rice@gmail.com> (raw)
In-Reply-To: <1454372406-13321-1-git-send-email-tobias.geerinckx.rice@gmail.com>

From: Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>

* gnu/packages/disk.scm (sdparm): New variable.
---
 gnu/packages/disk.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index d806e0c..6e824d2 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2012, 2013 Nikita Karetnikov <nikita@karetnikov.org>
 ;;; Copyright © 2015 Mathieu Lirzin <mthl@gnu.org>
 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2016 Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -144,3 +145,29 @@ to recover data more efficiently by only reading the necessary blocks.")
      "The dosfstools package includes the mkfs.fat and fsck.fat utilities,
 which respectively make and check MS-DOS FAT filesystems.")
     (license gpl3+)))
+
+(define-public sdparm
+  (package
+    (name "sdparm")
+    (version "1.09")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://sg.danny.cz/sg/p/"
+                           name "-" version ".tar.xz"))
+      (sha256
+       (base32
+        "0jakqyjwi72zqjzss04bally0xl0lc4710mx8da08vpmir1hfphg"))))
+    (build-system gnu-build-system)
+    (home-page "http://sg.danny.cz/sg/sdparm.html")
+    (synopsis "Access to SCSI device parameters")
+    (description "Sdparm reads and modifies SCSI device parameters.
+These devices can be SCSI disks, in which case @command{sdparm}'s role is
+similar to its namesake: the Linux @command{hdparm} utility originally
+designed for ATA disks.  However, @command{sdparm} can be used to access
+parameters on any device that uses a SCSI command set.  Such devices
+include CD/DVD drives (irrespective of transport), SCSI and ATAPI tape
+drives, and SCSI enclosures.  A small set of commands associated with
+starting and stopping the media, loading and unloading removable media
+and some other housekeeping functions can also be sent with this utility.")
+    (license bsd-3)))
-- 
2.7.0

  reply	other threads:[~2016-02-02  0:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-02  0:20 Add sdparm SCSI command utility tobias.geerinckx.rice
2016-02-02  0:20 ` tobias.geerinckx.rice [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-02-02  7:04 Adding a first package tobias.geerinckx.rice
2016-02-02  7:04 ` [PATCH] gnu: Add sdparm tobias.geerinckx.rice
2016-02-02  8:52   ` Tobias Geerinckx-Rice
2016-02-02 10:36   ` Ricardo Wurmus
2016-02-02 16:30     ` Tobias Geerinckx-Rice
2016-02-02 16:39       ` Andreas Enge
2016-02-02 16:50         ` Tobias Geerinckx-Rice
2016-02-02 17:01           ` Andreas Enge
2016-02-05  8:31   ` Ricardo Wurmus

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=1454372406-13321-2-git-send-email-tobias.geerinckx.rice@gmail.com \
    --to=tobias.geerinckx.rice@gmail.com \
    --cc=guix-devel@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.