[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/10: gnu: Add libnvme.
From: |
guix-commits |
Subject: |
07/10: gnu: Add libnvme. |
Date: |
Mon, 27 Feb 2023 10:00:34 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 7c4c61919c7977930347ca5950b0f6a68b870561
Author: Bruno Victal <mirai@makinata.eu>
AuthorDate: Fri Feb 10 15:06:53 2023 +0000
gnu: Add libnvme.
* gnu/packages/linux.scm (libnvme): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/linux.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f9d75f8c6b..3635cee1fa 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5039,6 +5039,35 @@ IDE driver subsystem. Many external USB drive
enclosures with SCSI-ATA Command
Translation (@dfn{SAT}) are also supported.")
(license (license:non-copyleft "file://LICENSE.TXT"))))
+(define-public libnvme
+ (package
+ (name "libnvme")
+ (version "1.3")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/linux-nvme/libnvme.git")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "1fngj5acp2sl4162xalq5simfasnika6gy0xrbi41x09wikvhn7y"))
+ (file-name (git-file-name name version))))
+ (build-system meson-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list (format #f "-Dhtmldir=~a/share/doc/~a/html"
+ #$output #$name)
+ "-Ddocs-build=true" "-Ddocs=all")))
+ (native-inputs (list pkg-config perl python python-sphinx))
+ ;; libnvme.pc, libnvme-mi.pc lists these in Requires.private.
+ (propagated-inputs (list dbus json-c openssl))
+ (home-page "https://github.com/linux-nvme/libnvme")
+ (synopsis "C Library for NVM Express on Linux")
+ (description "libnvme provides type definitions for NVMe specification
+structures, enumerations, and bit fields, helper functions to construct,
+dispatch, and decode commands and payloads, and utilities to connect, scan,
+and manage nvme devices on a Linux system.")
+ (license license:lgpl2.1+)))
+
(define-public nvme-cli
(package
(name "nvme-cli")
- branch master updated (2cf07434d8 -> cf9e0508b2), guix-commits, 2023/02/27
- 02/10: gexp: computed-file: Do not honor %guile-for-build., guix-commits, 2023/02/27
- 04/10: gnu: Add scheme48-prescheme., guix-commits, 2023/02/27
- 05/10: gnu: Add font-microsoft-cascadia., guix-commits, 2023/02/27
- 08/10: gnu: nvme-cli: Update to 2.3., guix-commits, 2023/02/27
- 07/10: gnu: Add libnvme.,
guix-commits <=
- 09/10: gnu: hwloc: Remove obsolete comments., guix-commits, 2023/02/27
- 10/10: gnu: hwloc: Skip failing test on non-x86 systems., guix-commits, 2023/02/27
- 01/10: pack: Make sure tests can run without a world rebuild., guix-commits, 2023/02/27
- 03/10: scripts: repl: Extend REPL %load-path with all channels., guix-commits, 2023/02/27
- 06/10: gnu: podman: Update to 4.4.1., guix-commits, 2023/02/27