gnu: hyperledger-fabric: Fix description, set supported system and parallel build.

* gnu/packages/hyperledger.scm (hyperledger-fabric)[description]: Rephrase
into something less marketing-ish.
[arguments]: Build with multiple jobs.
[supported-systems]: Support x86_64-linux only.
This commit is contained in:
Pierre Neidhardt 2019-03-09 12:30:24 +01:00
parent 7d4cab7473
commit 2b613a1a5d
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F

View File

@ -65,7 +65,9 @@
(replace 'build (replace 'build
(lambda _ (lambda _
;; Only linux-amd64 and linux-ppc64le seem to be supported at the moment. ;; Only linux-amd64 and linux-ppc64le seem to be supported at the moment.
(invoke "make" "-C" "src/github.com/hyperledger/fabric" (invoke "make"
"-j" (number->string (parallel-job-count))
"-C" "src/github.com/hyperledger/fabric"
"release/linux-amd64"))) "release/linux-amd64")))
(add-after 'install 'install-commands (add-after 'install 'install-commands
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
@ -82,8 +84,10 @@
(copy-recursively "sampleconfig" (copy-recursively "sampleconfig"
(string-append out "/etc/hyperledger/fabric")))) (string-append out "/etc/hyperledger/fabric"))))
#t))))) #t)))))
(supported-systems '("x86_64-linux"))
(synopsis "Platform for distributed ledger solutions") (synopsis "Platform for distributed ledger solutions")
(description "A platform for distributed ledger solutions, underpinned by (description "Hyperledger Fabric is a platform for distributed ledger
a modular architecture delivering high degrees of confidentiality, resiliency, solutions, underpinned by a modular architecture focusing on confidentiality
flexibility and scalability.") and resiliency. It is designed to support pluggable implementations of
different components.")
(license asl2.0))) (license asl2.0)))