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))))
mit/gnu/packages/gl.scm?id=45491ea8da85ad977ca11f4595a7ddeb22146b0d'>gnu: mesa: Fix Vulkan on older Intel GPUs....Mesa split the Vulkan intel driver into two: intel and intel_hasvk. Enables intel_hasvk so vulkan functions on older intel GPUs again, and swrast for lavapipe as a fallback. * gnu/packages/gl.scm (mesa-vulkan-hasvk): New variable. (mesa): Graft with mesa-vulkan-hasvk. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com> Lilah Tascheter 2023-05-14gnu: mesa-opencl: Remove reference to patch....Fixes <https://bugs.gnu.org/63456>. * gnu/packages/patches/mesa-opencl-all-targets.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Remove it. * gnu/packages/gl.scm (mesa-opencl)[source]: Remove patch application. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Andy Tai 2023-05-13gnu: guile-opengl: Update to 0.2.0....* gnu/packages/gl.scm (guile-opengl): Update to 0.2.0. Remove obsolete build system hack. (guile3.0-opengl): Remove obsolete build system hack. David Thompson 2023-05-07gnu: mesa: Update to 23.0.3....* gnu/packages/gl.scm (mesa): Update to 23.0.3. [source]: Remove obsolete patch and update HTTPS url. [arguments]: Enable the crocus gallium driver. * gnu/packages/patches/mesa-fix-sporadic-test-failures.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Kaelyn Takata 2023-05-07gnu: mesa: Use gexps instead of quasiquote....* gnu/packages/gl.scm (mesa)[arguments]: Use gexps instead of quasiquote. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Kaelyn Takata 2023-05-07gnu: mesa: Fix hardware video decoding....* gnu/packages/gl.scm (mesa): Fix hardware video decoding. [arguments]: Add -Dvideo-codecs to the #:configure-flags [native-search-paths]: Add VDPAU_DRIVER_PATH so libvdpau can find the drivers. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Kaelyn Takata 2023-05-07gnu: mesa: Fix library paths in Vulkan layer manifests....* gnu/packages/gl.scm (mesa): Fix library paths in Vulkan layer manifests. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Kaelyn Takata