gnu: nvme-cli: Update to 2.3.
* gnu/packages/linux.scm (nvme-cli): Update to 2.3. [build-system]: Switch to meson-build-system. [arguments]: Remove stages. Build documentation. [native-inputs]: Add pkg-config. [inputs]: Add libnvme, json-c and zlib. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
parent
7c4c61919c
commit
7edf42ddf7
|
@ -5071,7 +5071,7 @@ and manage nvme devices on a Linux system.")
|
||||||
(define-public nvme-cli
|
(define-public nvme-cli
|
||||||
(package
|
(package
|
||||||
(name "nvme-cli")
|
(name "nvme-cli")
|
||||||
(version "1.16")
|
(version "2.3")
|
||||||
(home-page "https://github.com/linux-nvme/nvme-cli")
|
(home-page "https://github.com/linux-nvme/nvme-cli")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -5079,22 +5079,16 @@ and manage nvme devices on a Linux system.")
|
||||||
(url home-page)
|
(url home-page)
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "130x5cf6kkcnyg5qd35igii249ysfjnbxp1pxfwkickmqg3d007z"))
|
(base32 "1f3bhxh2kr94s6glzibrmgxxgs66qyabn8plnw5y0v9cpi78b3qs"))
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(build-system gnu-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:make-flags
|
(list
|
||||||
#~(list (string-append "CC=" #$(cc-for-target)))
|
#:configure-flags #~(list (format #f "-Dhtmldir=~a/share/doc/~a/html"
|
||||||
#:phases
|
#$output #$name)
|
||||||
#~(modify-phases %standard-phases
|
"-Ddocs=all")))
|
||||||
(delete 'configure) ; no ./configure script
|
(native-inputs (list pkg-config))
|
||||||
(replace 'install
|
(inputs (list libnvme json-c zlib))
|
||||||
(lambda _
|
|
||||||
(invoke "make" "install-spec" "PREFIX="
|
|
||||||
(string-append "DESTDIR=" #$output)))))
|
|
||||||
;; The tests require sysfs, which is not accessible from from the
|
|
||||||
;; build environment.
|
|
||||||
#:tests? #f))
|
|
||||||
(synopsis "NVM-Express user space tooling for Linux")
|
(synopsis "NVM-Express user space tooling for Linux")
|
||||||
(description "Nvme-cli is a utility to provide standards compliant tooling
|
(description "Nvme-cli is a utility to provide standards compliant tooling
|
||||||
for NVM-Express drives. It was made specifically for Linux as it relies on the
|
for NVM-Express drives. It was made specifically for Linux as it relies on the
|
||||||
|
|
Reference in New Issue