diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-03-19 12:15:46 +0100 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-03-19 12:22:18 +0100 |
| commit | cf31179062c99bc0ea4e2dab43d734036f117295 (patch) | |
| tree | a4b52389ba7c58d351bfb716db6755924b9b5094 /gnu/packages/hyperledger.scm | |
| parent | 3e0df6cd4ad7b4eba6564976c98a94d131d44494 (diff) | |
gnu: hyperledger-fabric: Use git tag.
* gnu/packages/hyperledger.scm (hyperledger-fabric)[source]: Check out
the (supposedly immutable) tag instead of the (maintenance) branch.
Diffstat (limited to 'gnu/packages/hyperledger.scm')
| -rw-r--r-- | gnu/packages/hyperledger.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/hyperledger.scm b/gnu/packages/hyperledger.scm index b25a3c48e7c..158a66e898e 100644 --- a/gnu/packages/hyperledger.scm +++ b/gnu/packages/hyperledger.scm | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz> | 2 | ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz> |
| 3 | ;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr> | ||
| 3 | ;;; | 4 | ;;; |
| 4 | ;;; This file is part of GNU Guix. | 5 | ;;; This file is part of GNU Guix. |
| 5 | ;;; | 6 | ;;; |
| @@ -34,7 +35,7 @@ | |||
| 34 | (define-public hyperledger-fabric | 35 | (define-public hyperledger-fabric |
| 35 | (package | 36 | (package |
| 36 | (name "hyperledger-fabric") | 37 | (name "hyperledger-fabric") |
| 37 | (version "1.4") | 38 | (version "1.4.0") |
| 38 | ;; While the GitHub repository is supposed to be "just a mirror," the Go | 39 | ;; While the GitHub repository is supposed to be "just a mirror," the Go |
| 39 | ;; imports refer to it explicitly. | 40 | ;; imports refer to it explicitly. |
| 40 | (home-page "https://github.com/hyperledger/fabric") | 41 | (home-page "https://github.com/hyperledger/fabric") |
| @@ -42,10 +43,11 @@ | |||
| 42 | (method git-fetch) | 43 | (method git-fetch) |
| 43 | (uri (git-reference | 44 | (uri (git-reference |
| 44 | (url home-page) | 45 | (url home-page) |
| 45 | (commit (string-append "release-" version)))) | 46 | ;; ‘release-…’ are branches, and move. ‘v…’ are the tags. |
| 47 | (commit (string-append "v" version)))) | ||
| 46 | (sha256 | 48 | (sha256 |
| 47 | (base32 | 49 | (base32 |
| 48 | "1g003wf6439f2c9i2vphf4sh463yyasq1vpqmkpw9lj170a6kl8k")) | 50 | "0nmg24ishwddxm1i2vh5ah5ylmmcg0apnjbgv1hljvhl48k4pzxq")) |
| 49 | (file-name (git-file-name name version)))) | 51 | (file-name (git-file-name name version)))) |
| 50 | (build-system go-build-system) | 52 | (build-system go-build-system) |
| 51 | (native-inputs | 53 | (native-inputs |
