From f082c78c98d8fee4acd89dd40081c7fd7a081b74 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Tue, 3 Sep 2019 19:42:21 +0200 Subject: [PATCH] gnu: ocaml-cppo: Update to 1.6.6. * gnu/packages/ocaml.scm (ocaml-cppo): Update to 1.6.6. [source]: Use git-fetch. --- gnu/packages/ocaml.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 3bc28164fc..af10411f88 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2466,15 +2466,16 @@ (define-public ocaml-js-build-tools (define-public ocaml-cppo (package (name "ocaml-cppo") - (version "1.6.5") + (version "1.6.6") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/mjambon/cppo/archive/v" version - ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/mjambon/cppo") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1dkm3d5h6h56y937gcdk2wixlpzl59vv5pmiafglr89p20kf7gqf")) - (file-name (string-append name "-" version ".tar.gz")))) + "1smcc0l6fh2n0y6bp96c69j5nw755jja99w0b206wx3yb2m4w2hs")))) (build-system dune-build-system) (arguments `(#:tests? #f