gnu: ndctl: Update to 63.
* gnu/packages/disk.scm (ndctl): Update to 63. [source]: Use GIT-FILE-NAME. [native-inputs]: Add bash-completion. [arguments]: Add '--disable-asciidoctor' and '--without-systemd' #:configure-flags. Don't bother patching unused ./autogen.sh in 'patch-FHS-file-names' phase.
This commit is contained in:
parent
4273a7ef65
commit
1f033795e2
1 changed files with 10 additions and 8 deletions
|
@ -600,27 +600,28 @@ passphrases.")
|
||||||
(define-public ndctl
|
(define-public ndctl
|
||||||
(package
|
(package
|
||||||
(name "ndctl")
|
(name "ndctl")
|
||||||
(version "61.2")
|
(version "63")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/pmem/ndctl")
|
(url "https://github.com/pmem/ndctl.git")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0vid78jzhmzh505bpwn8mvlamfhcvl6rlfjc29y4yn7zslpydxl7"))))
|
"060nsza8xic769bxj3pvl70a9885bwrc0myw16l095i3z6w7yzwq"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("asciidoc" ,asciidoc)
|
`(("asciidoc" ,asciidoc)
|
||||||
("automake" ,automake)
|
("automake" ,automake)
|
||||||
("autoconf" ,autoconf)
|
("autoconf" ,autoconf)
|
||||||
|
("bash-completion" ,bash-completion)
|
||||||
("docbook-xsl" ,docbook-xsl)
|
("docbook-xsl" ,docbook-xsl)
|
||||||
("libtool" ,libtool)
|
("libtool" ,libtool)
|
||||||
("libxml2" ,libxml2)
|
("libxml2" ,libxml2)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("xmlto" ,xmlto)
|
("xmlto" ,xmlto)
|
||||||
;; Required for offline docbook generation:
|
;; Required for offline docbook generation.
|
||||||
("which" ,which)))
|
("which" ,which)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("eudev" ,eudev)
|
`(("eudev" ,eudev)
|
||||||
|
@ -628,12 +629,13 @@ passphrases.")
|
||||||
("kmod" ,kmod)
|
("kmod" ,kmod)
|
||||||
("util-linux" ,util-linux)))
|
("util-linux" ,util-linux)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:configure-flags
|
||||||
|
(list "--disable-asciidoctor" ; use docbook-xsl instead
|
||||||
|
"--without-systemd")
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-FHS-file-names
|
(add-after 'unpack 'patch-FHS-file-names
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "autogen.sh"
|
|
||||||
(("/bin/sh") (which "sh")))
|
|
||||||
(substitute* "git-version-gen"
|
(substitute* "git-version-gen"
|
||||||
(("/bin/sh") (which "sh")))
|
(("/bin/sh") (which "sh")))
|
||||||
(substitute* "git-version"
|
(substitute* "git-version"
|
||||||
|
|
Reference in a new issue