gnu: hyperledger-fabric: Use git tag.

* gnu/packages/hyperledger.scm (hyperledger-fabric)[source]: Check out
the (supposedly immutable) tag instead of the (maintenance) branch.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-19 12:15:46 +01:00
parent 3e0df6cd4a
commit cf31179062
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@ -34,7 +35,7 @@
(define-public hyperledger-fabric
(package
(name "hyperledger-fabric")
(version "1.4")
(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")
@ -42,10 +43,11 @@
(method git-fetch)
(uri (git-reference
(url home-page)
(commit (string-append "release-" version))))
;; release-…’ are branches, and move. v… are the tags.
(commit (string-append "v" version))))
(sha256
(base32
"1g003wf6439f2c9i2vphf4sh463yyasq1vpqmkpw9lj170a6kl8k"))
"0nmg24ishwddxm1i2vh5ah5ylmmcg0apnjbgv1hljvhl48k4pzxq"))
(file-name (git-file-name name version))))
(build-system go-build-system)
(native-inputs