gnu: nanomsg: Don't build html documentation.

* gnu/packages/networking.scm (nanomsg)[outputs]: Remove 'doc' output.
[arguments]: Remove phase moving html to doc output.
[native-inputs]: Remove ruby-asciidoctor, pkg-config.

Change-Id: Ie44d250572e652f14981f0d0edfa2de7ae5e62c0
This commit is contained in:
Efraim Flashner 2023-11-08 21:56:54 +02:00
parent ae9fb02bb5
commit e7d61dfe57
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -154,7 +154,6 @@
#:use-module (gnu packages python-xyz) #:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt) #:use-module (gnu packages qt)
#:use-module (gnu packages readline) #:use-module (gnu packages readline)
#:use-module (gnu packages ruby)
#:use-module (gnu packages samba) #:use-module (gnu packages samba)
#:use-module (gnu packages serialization) #:use-module (gnu packages serialization)
#:use-module (gnu packages shells) #:use-module (gnu packages shells)
@ -867,25 +866,9 @@ publish/subscribe, RPC-style request/reply, or service discovery.")
(sha256 (sha256
(base32 "01ddfzjlkf2dgijrmm3j3j8irccsnbgfvjcnwslsfaxnrmrq5s64")))) (base32 "01ddfzjlkf2dgijrmm3j3j8irccsnbgfvjcnwslsfaxnrmrq5s64"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(outputs '("out" "doc"))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list (list "-DNN_ENABLE_COVERAGE=ON")))
"-DNN_ENABLE_COVERAGE=ON")
#:phases
(modify-phases %standard-phases
(add-after 'install 'move-docs
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(doc (assoc-ref outputs "doc")))
(mkdir-p (string-append doc "/share/doc"))
(rename-file
(string-append out "/share/doc/nanomsg")
(string-append doc "/share/doc/nanomsg"))
#t))))))
(native-inputs
`(("asciidoctor" ,ruby-asciidoctor)
("pkg-config" ,pkg-config)))
(synopsis "Scalable socket library") (synopsis "Scalable socket library")
(description "Nanomsg is a socket library that provides several common (description "Nanomsg is a socket library that provides several common
communication patterns. It aims to make the networking layer fast, scalable, communication patterns. It aims to make the networking layer fast, scalable,