guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/11: gnu: ocamlify: Parametrize source URI.


From: guix-commits
Subject: 04/11: gnu: ocamlify: Parametrize source URI.
Date: Mon, 31 Aug 2020 14:35:49 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 4a7243fcfb1aa6f967a16cb31510aa421012fd56
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Aug 31 19:40:38 2020 +0200

    gnu: ocamlify: Parametrize source URI.
    
    * gnu/packages/ocaml.scm (ocamlify)[source]: Construct with VERSION.
---
 gnu/packages/ocaml.scm | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 682bc89..df1ca76 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2259,18 +2259,18 @@ radix-64 representation.  It is specified in RFC 4648.")
   (package
     (name "ocamlify")
     (version "0.0.1")
-    (source (origin
-              (method url-fetch)
-              (uri 
"https://download.ocamlcore.org/ocamlify/ocamlify/0.0.1/ocamlify-0.0.1.tar.gz";)
-              (sha256
-               (base32
-                "1j9nb3vjqbdsx3d6jazixgrh776051zkrc06nsc5q5ilp1jhrwkm"))))
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://download.ocamlcore.org/ocamlify/ocamlify/";
+                           version "/ocamlify-" version ".tar.gz"))
+       (sha256
+        (base32 "1j9nb3vjqbdsx3d6jazixgrh776051zkrc06nsc5q5ilp1jhrwkm"))))
     (build-system ocaml-build-system)
-    ; tests are done during build
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (delete 'check)
+         (delete 'check)                ; tests are run during the build
          (replace 'configure
            (lambda* (#:key outputs #:allow-other-keys)
              (invoke "ocaml" "setup.ml" "-configure" "--prefix"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]