[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: ocaml-ounit: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
04/04: gnu: ocaml-ounit: Don't use unstable tarball. |
Date: |
Sun, 12 Jan 2020 23:24:41 -0500 (EST) |
brettgilio pushed a commit to branch wip-ocaml4.09
in repository guix.
commit c74eeea1f22c38873c0d1a6f780c2315cc5e89c1
Author: Brett Gilio <address@hidden>
AuthorDate: Sun Jan 12 22:23:46 2020 -0600
gnu: ocaml-ounit: Don't use unstable tarball.
* gnu/packages/ocaml.scm (ocaml-ounit)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
---
gnu/packages/ocaml.scm | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index b89b1f5..32eeb8c 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -958,12 +958,16 @@ compilers that can directly deal with packages.")
(package
(name "ocaml-ounit")
(version "2.0.8")
- (source (origin
- (method url-fetch)
- (uri (ocaml-forge-uri "ounit" version 1749))
- (sha256
- (base32
- "03ifp9hjcxg4m5j190iy373jcn4039d3vy10kmd8p4lfciwzwc1f"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gildor478/ounit.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1ihj04bgvs78fgj1ahvmaa1gib7mp6fqj21kf6hacy9chbxdfgz0"))))
(build-system ocaml-build-system)
(native-inputs
`(("libxml2" ,libxml2) ; for xmllint