[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: ocaml-ocplib-endian: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
02/03: gnu: ocaml-ocplib-endian: Don't use unstable tarball. |
Date: |
Tue, 28 Jan 2020 04:25:38 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 4d85a7dd26c06b22e7fcafc0855a6a84df3a38dd
Author: Efraim Flashner <address@hidden>
AuthorDate: Tue Jan 28 10:51:40 2020 +0200
gnu: ocaml-ocplib-endian: Don't use unstable tarball.
* gnu/packages/ocaml.scm (ocaml-ocplib-endian)[source]: Download using
git-fetch.
---
gnu/packages/ocaml.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index a8fdd00..65d89bc 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2659,13 +2659,14 @@ standard iterator type starting from 4.07.")
(name "ocaml-ocplib-endian")
(version "1.0")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/OCamlPro/ocplib-endian/"
- "archive/" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/OCamlPro/ocplib-endian/")
+ (commit version)))
(sha256
(base32
- "0hwj09rnzjs0m0kazz5h2mgs6p95j0zlga8cda5srnzqmzhniwkn"))
- (file-name (string-append name "-" version ".tar.gz"))))
+ "0s1ld3kavz892b8awyxyg1mr98h2g61gy9ci5v6yb49bsii6wicw"))
+ (file-name (git-file-name name version))))
(build-system ocaml-build-system)
(native-inputs
`(("cppo" ,ocaml-cppo)