unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Julien Lepiller <julien@lepiller.eu>
Cc: 51351@debbugs.gnu.org
Subject: [bug#51351] [PATCH] gnu: pplacer: Fix build.
Date: Mon, 15 Nov 2021 15:39:35 +0200	[thread overview]
Message-ID: <YZJjF169wepFns+P@3900XT> (raw)
In-Reply-To: <20211023163008.017145c3@tachikoma.lepiller.eu>

[-- Attachment #1: Type: text/plain, Size: 2807 bytes --]

On Sat, Oct 23, 2021 at 04:30:08PM +0200, Julien Lepiller wrote:
> From b77fb136a6f1e4ecceb0ddbd2a0318af80721d50 Mon Sep 17 00:00:00 2001
> Message-Id: <b77fb136a6f1e4ecceb0ddbd2a0318af80721d50.1634999221.git.julien@lepiller.eu>
> In-Reply-To: <5a85894ee405d2fbe909b61fb3817aa44d6a08df.1634999221.git.julien@lepiller.eu>
> References: <5a85894ee405d2fbe909b61fb3817aa44d6a08df.1634999221.git.julien@lepiller.eu>
> From: Julien Lepiller <julien@lepiller.eu>
> Date: Sat, 23 Oct 2021 15:26:54 +0200
> Subject: [PATCH 2/6] gnu: Add ocaml4.07-alcotest.
> 
> * gnu/packages/ocaml.scm (ocaml4.07-alcotest): New variable.
> ---
>  gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> 
> diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
> index 412e9e339d..a8f5faaf1d 100644
> --- a/gnu/packages/ocaml.scm
> +++ b/gnu/packages/ocaml.scm
> @@ -2268,6 +2268,7 @@ (define-public ocaml-alcotest
>         ("ocaml-stdlib-shims" ,ocaml-stdlib-shims)
>         ("ocaml-uuidm" ,ocaml-uuidm)
>         ("ocaml-uutf" ,ocaml-uutf)))
> +    (properties `((ocaml4.07-variant . ,(delay ocaml4.07-alcotest))))
>      (home-page "https://github.com/mirage/alcotest")
>      (synopsis "Lightweight OCaml test framework")
>      (description "Alcotest exposes simple interface to perform unit tests.  It
> @@ -2278,6 +2279,30 @@ (define-public ocaml-alcotest
>  simple (yet expressive) query language to select the tests to run.")
>      (license license:isc)))
>  
> +(define-public ocaml4.07-alcotest
> +  (package-with-ocaml4.07
> +    (package
> +      (inherit ocaml-alcotest)
> +      (version "1.0.1")
> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url "https://github.com/mirage/alcotest")
> +                      (commit version)))
> +                (file-name (git-file-name "ocaml-alcotest" version))
> +                (sha256
> +                 (base32
> +                  "1frwi185z4aadmaf0vp8xk5227nyg7nmh28ijj5l7ncjr5slvhz8"))))

This package builds just fine without the changes to arguments.

> +      (arguments
> +       `(#:test-target "."
> +         #:package "alcotest"
> +         #:phases
> +         (modify-phases %standard-phases
> +           (add-after 'unpack 'fix-dune-version
> +             (lambda _
> +               (delete-file "dune-project"))))))
> +      (properties '()))))
> +
>  (define-public ocaml-ppx-tools
>    (package
>      (name "ocaml-ppx-tools")
> -- 
> 2.33.0
> 


-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2021-11-15 13:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-23 14:30 [bug#51351] [PATCH] gnu: pplacer: Fix build Julien Lepiller
2021-11-11 17:47 ` Ricardo Wurmus
2021-11-15 13:22   ` zimoun
2021-11-15 13:39 ` Efraim Flashner [this message]
2021-11-15 13:40 ` Efraim Flashner
2021-11-15 13:42 ` Efraim Flashner
2021-11-16 13:47 ` bug#51351: " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YZJjF169wepFns+P@3900XT \
    --to=efraim@flashner.co.il \
    --cc=51351@debbugs.gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).