[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: gnu: ocaml4.07-piqi: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
06/07: gnu: ocaml4.07-piqi: Don't use unstable tarball. |
Date: |
Wed, 24 Jun 2020 03:55:57 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 2d84ef328cfa19743d97dde5929ec2d5fc00f12e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Jun 24 10:35:56 2020 +0300
gnu: ocaml4.07-piqi: Don't use unstable tarball.
* gnu/packages/ocaml.scm (ocaml4.07-piqi)[source]: Download using
git-fetch.
[arguments]: Add custom phase to make files writable.
---
gnu/packages/ocaml.scm | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index d9ba2ae..5792c1f 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2940,13 +2940,14 @@ and 4 (random based) according to RFC 4122.")
(name "ocaml4.07-piqi")
(version "0.7.7")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/alavrik/piqi-ocaml/"
- "archive/v" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alavrik/piqi-ocaml")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1l0b4saxmwqgw9mb10mwrz31lvpj3l0abh3cwarqp0x4vdrzshbh"))))
+ "1913jpsb8mvqi8609j4g4sm5jhg50dq0xqxgy8nmvknfryyc89nm"))))
(build-system ocaml-build-system)
(arguments
`(#:make-flags
@@ -2955,6 +2956,10 @@ and 4 (random based) according to RFC 4122.")
"/bin/sh"))
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'make-files-writable
+ (lambda _
+ (for-each make-file-writable (find-files "."))
+ #t))
(delete 'configure))
#:ocaml ,ocaml-4.07
#:findlib ,ocaml4.07-findlib))
- branch master updated (dcd62e8 -> d739b8d), guix-commits, 2020/06/24
- 01/07: gnu: java-usb4java: Don't use unstable tarball., guix-commits, 2020/06/24
- 02/07: gnu: ddate: Don't use unstable tarball., guix-commits, 2020/06/24
- 04/07: gnu: pflask: Don't use unstable tarball., guix-commits, 2020/06/24
- 06/07: gnu: ocaml4.07-piqi: Don't use unstable tarball.,
guix-commits <=
- 05/07: gnu: jmtpfs: Don't use unstable tarball., guix-commits, 2020/06/24
- 03/07: gnu: procenv: Don't use unstable tarball., guix-commits, 2020/06/24
- 07/07: gnu: libsignal-protocol-c: Don't use unstable tarball., guix-commits, 2020/06/24