aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/scsi.scm
blob: 803f49931efeb3ea9f1be4e2b2aaaf3e6c42b312 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages scsi)
  #:use-module ((guix licenses)
                #:select (gpl2+ bsd-2 bsd-3))
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public sg3-utils
  (package
    (name "sg3-utils")
    (version "1.45")
    (source (origin
              (method url-fetch)
              (uri (string-append "http://sg.danny.cz/sg/p/sg3_utils-"
                                  version ".tar.xz"))
              (sha256
               (base32
                "1vmjb17y33a73sv7jg8fzs6bhr7yh2k9sba81sjiyf1pvi3vbnn7"))))
    (build-system gnu-build-system)
    (home-page "http://sg.danny.cz/sg/sg3_utils.html")
    (synopsis "SCSI device utilities")
    (description
     "sg3-utils is a collection of utilities for devices that use the Small
Computer System Interface (@dfn{SCSI}) command set.  It includes utilities to
read data from, write data to, control, modify, and query the state of SCSI
devices.

For example, this package provides command-line tools to:
@itemize
@item copy data based on @code{dd} syntax and semantics (called @command{sg_dd},
@command{sgp_dd}, and @command{sgm_dd})
@item check @code{INQUIRY} data and @code{VPD pages} (@command{sg_inq})
@item check mode and log pages (@command{sginfo}, @command{sg_modes}, and
@command{sg_logs})
@item spin up and down disks (@command{sg_start})
@item do self-tests (@code{sg_senddiag})
@item parse sense data (@code{sg_decode_sense})
@item and perform various other functions.
@end itemize

In addition, this package includes a library, called libsgutils, which can be
used in C and C++ programs to interact with SCSI devices.")
    ;; See README: "All utilities and libraries have either a "2 clause" BSD
    ;;   license or are "GPL-2ed". [...] That BSD license was updated from the
    ;;   "3 clause" to the newer "2 clause" version on 20180119. To save space
    ;;   various source code files refer to a file called "BSD_LICENSE" [...]."
    ;; Some files (like sg_compare_and_write.c) retain their 3-clause headers!
    (license (list gpl2+ bsd-2 bsd-3))))
.Guillaume Le Vaillant 2020-09-02gnu: Add sbcl-clack-handler-hunchentoot....Pierre Neidhardt 2020-09-02gnu: Add clack-handler-fcgi....Pierre Neidhardt 2020-09-02gnu: Add cl-fastcgi....Pierre Neidhardt 2020-09-02gnu: sbcl-mito: Remove spurious comment....Pierre Neidhardt 2020-09-02gnu: sbcl-dbi: Update to 20200518....Pierre Neidhardt 2020-09-02gnu: sbcl-cl-sqlite: Update to 0.2.1....Pierre Neidhardt 2020-09-01gnu: Add caveman....Pierre Neidhardt 2020-09-01gnu: Add cl-project....Pierre Neidhardt 2020-09-01gnu: Add cl-emb....Pierre Neidhardt 2020-09-01gnu: Add do-urlencode....Pierre Neidhardt 2020-09-01gnu: Add datafly....Pierre Neidhardt 2020-09-01gnu: Add kebab....Pierre Neidhardt 2020-09-01gnu: Add mito....Pierre Neidhardt 2020-09-01gnu: Add ecl-cl-postgres....Pierre Neidhardt 2020-09-01gnu: Add ecl-md5....Pierre Neidhardt 2020-09-01gnu: Add envy....Pierre Neidhardt 2020-08-22gnu: Add sbcl-livesupport....Adam Kandur 2020-08-07gnu: Add hu.dwim.defclass-star....Pierre Neidhardt 2020-08-07gnu: Add hu.dwim.common....Pierre Neidhardt 2020-08-07gnu: Add hu.dwim.common-lisp....Pierre Neidhardt 2020-08-02gnu: Add cl-qbase64....Adam Kandur 2020-08-02gnu: sbcl-eos: Update to 0.0.0-2.b4413bc....Guillaume Le Vaillant 2020-07-30gnu: Add cl-inflector....Adam Kandur 2020-07-19gnu: sbcl-mcclim-fonts-truetype: Fix build....Guillaume Le Vaillant 2020-07-17gnu: Add cl-mcclim....Guillaume Le Vaillant 2020-07-17gnu: Add sbcl-mcclim....Guillaume Le Vaillant 2020-07-17gnu: Add sbcl-mcclim-extensions....Guillaume Le Vaillant 2020-07-17gnu: Add sbcl-mcclim-layouts-tab....Guillaume Le Vaillant 2020-07-17gnu: Add sbcl-conditional-commands....Guillaume Le Vaillant 2020-07-17gnu: Add sbcl-mcclim-bitmaps....Guillaume Le Vaillant