mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Remove hyperledger-fabric.
* gnu/packages/hyperledger.scm (hyperledger-fabric): Delete variable. Change-Id: I9624f5ebd5481b9344c8cc7a7ccb55ed160e0aa6
This commit is contained in:
parent
ef6bbe14f8
commit
3b7c9395e5
1 changed files with 0 additions and 59 deletions
|
@ -43,62 +43,3 @@
|
||||||
#:use-module (gnu packages version-control)
|
#:use-module (gnu packages version-control)
|
||||||
#:use-module (gnu packages web))
|
#:use-module (gnu packages web))
|
||||||
|
|
||||||
(define-public hyperledger-fabric
|
|
||||||
(package
|
|
||||||
(name "hyperledger-fabric")
|
|
||||||
(version "1.4.0")
|
|
||||||
;; While the GitHub repository is supposed to be "just a mirror," the Go
|
|
||||||
;; imports refer to it explicitly.
|
|
||||||
(home-page "https://github.com/hyperledger/fabric")
|
|
||||||
(source (origin
|
|
||||||
(method git-fetch)
|
|
||||||
(uri (git-reference
|
|
||||||
(url home-page)
|
|
||||||
;; ‘release-…’ are branches, and move. ‘v…’ are the tags.
|
|
||||||
(commit (string-append "v" version))))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0nmg24ishwddxm1i2vh5ah5ylmmcg0apnjbgv1hljvhl48k4pzxq"))
|
|
||||||
(file-name (git-file-name name version))))
|
|
||||||
(build-system go-build-system)
|
|
||||||
(native-inputs
|
|
||||||
(list which docker-cli git curl))
|
|
||||||
(arguments
|
|
||||||
`(#:import-path "github.com/hyperledger/fabric"
|
|
||||||
#:unpack-path "github.com/hyperledger/fabric"
|
|
||||||
;; We don't need to install the source code for end-user applications.
|
|
||||||
#:install-source? #f
|
|
||||||
;; TODO: Tests require a running Docker daemon.
|
|
||||||
#:tests? #f
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(replace 'build
|
|
||||||
(lambda _
|
|
||||||
;; Only linux-amd64 and linux-ppc64le seem to be supported at the moment.
|
|
||||||
(invoke "make"
|
|
||||||
"-j" (number->string (parallel-job-count))
|
|
||||||
"-C" "src/github.com/hyperledger/fabric"
|
|
||||||
"release/linux-amd64")))
|
|
||||||
(add-after 'install 'install-commands
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(let ((out (assoc-ref outputs "out"))
|
|
||||||
(src "src/github.com/hyperledger/fabric/"))
|
|
||||||
(with-directory-excursion src
|
|
||||||
(copy-recursively
|
|
||||||
"release/linux-amd64/bin"
|
|
||||||
(string-append out "/bin"))
|
|
||||||
(install-file "LICENSE"
|
|
||||||
(string-append out "/share/licenses"))
|
|
||||||
(install-file "README.md"
|
|
||||||
(string-append out "/share/doc"))
|
|
||||||
(copy-recursively "sampleconfig"
|
|
||||||
(string-append out "/etc/hyperledger/fabric"))))
|
|
||||||
#t)))))
|
|
||||||
(supported-systems '("x86_64-linux"))
|
|
||||||
(synopsis "Platform for distributed ledger solutions")
|
|
||||||
(description "Hyperledger Fabric is a platform for distributed ledger
|
|
||||||
solutions, underpinned by a modular architecture focusing on confidentiality
|
|
||||||
and resiliency. It is designed to support pluggable implementations of
|
|
||||||
different components.")
|
|
||||||
(license asl2.0)))
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue