From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OPo7FFC5m2FkmgAAgWs5BA (envelope-from ) for ; Mon, 22 Nov 2021 16:37:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +IDlD1C5m2HfewAAB5/wlQ (envelope-from ) for ; Mon, 22 Nov 2021 15:37:52 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 08039C23A for ; Mon, 22 Nov 2021 16:37:52 +0100 (CET) Received: from localhost ([::1]:52788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpBOA-0006ka-Rh for larch@yhetil.org; Mon, 22 Nov 2021 10:37:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpBMS-0004lV-7w for guix-patches@gnu.org; Mon, 22 Nov 2021 10:36:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpBMR-0005ah-Ux for guix-patches@gnu.org; Mon, 22 Nov 2021 10:36:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpBMR-0001by-Ry for guix-patches@gnu.org; Mon, 22 Nov 2021 10:36:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52039] [PATCH 4/7] gnu: ocaml-charinfo-width: Fix source to get 'LICENSE' file. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Nov 2021 15:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52039 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52039@debbugs.gnu.org Cc: zimoun Received: via spool by 52039-submit@debbugs.gnu.org id=B52039.16375953426106 (code B ref 52039); Mon, 22 Nov 2021 15:36:03 +0000 Received: (at 52039) by debbugs.gnu.org; 22 Nov 2021 15:35:42 +0000 Received: from localhost ([127.0.0.1]:48882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpBM5-0001aK-SD for submit@debbugs.gnu.org; Mon, 22 Nov 2021 10:35:42 -0500 Received: from mail-wm1-f51.google.com ([209.85.128.51]:39862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpBM0-0001ZA-0O for 52039@debbugs.gnu.org; Mon, 22 Nov 2021 10:35:36 -0500 Received: by mail-wm1-f51.google.com with SMTP id n33-20020a05600c502100b0032fb900951eso17153589wmr.4 for <52039@debbugs.gnu.org>; Mon, 22 Nov 2021 07:35:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bvo9PfC3ZyAVINK8SNVRmKxF3GEHOX58M7tRJgvzYlM=; b=e0gG8jRod2KFKxWtqfg/qH9OK1cICD6wPuyX3jom5md0qMyXbyZ5ssReL35gmST4ow TtoyOU310eTIarGkgF7riznV2lT/yz+O2Fj85OIQkelLcftuI4+0lUz78HjltMC2ax3H HfaATNohieR1/FNBMSBva0sOUD6gGSG+yUsifTf9eYZelTKFp/vKieAppcjO/uKGWXlX EmCqdeQPacgP2K3RklZGJxSlZ/DVOI4M3HeBqvoXfC+ANjCzsMVPZpL76/BOaf8/ApbL oOQH7KfpcKNMP3J453fE35srVJZScZbjolEGPYWPpZhJ8n2TjgYYyljlnYxsXedAU+0D rG8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bvo9PfC3ZyAVINK8SNVRmKxF3GEHOX58M7tRJgvzYlM=; b=Fl+MlrTw8G8R5pvkL+Ov+Nb2EjxVWroW1K3m+c2ORqfpofBPlX7aMi98TuixqwlpPW WB4dwMLs2ps/CvEV4SvexSxPwlJqwUCvlexWLBunzRbDa5iTMeSgVx5WJ475/Hzm2WKZ uBAD7R6R0zN8AZQ6WKh6ABq2xWcA6q7IuMjAU0qyfgtAuu+ybucylJwSgvSevIamLYoy ugTlL6JkafWJs/jieSToR6fDVTntNi9MEgQlTByGkrIcvExCpXvfgEMkiu5FR5jE9cOm xtn5CaVIkkBoCgruQfeeOfjurtaaZ0j2wOU11Lz9pg5ivqbGTz5T6Zk2ABVRwR/ceIkC Cybw== X-Gm-Message-State: AOAM532zQ6AaGm6T44ZPyA4m3Y+wfuBQBHd8NmCiG0rz5BHVjUIApora jKdbOG2iszVzo6JXK9K670gXhH0ANKo= X-Google-Smtp-Source: ABdhPJzzC6/0rciav80zgWK9+1YQUBNz9vbxRytAfVsCwAINir0nwO8a0AZPTIqEeJBNPRgOXymUPQ== X-Received: by 2002:a1c:208b:: with SMTP id g133mr31099318wmg.128.1637595330445; Mon, 22 Nov 2021 07:35:30 -0800 (PST) Received: from localhost.localdomain ([193.48.40.110]) by smtp.gmail.com with ESMTPSA id o9sm9409147wrs.4.2021.11.22.07.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 07:35:30 -0800 (PST) From: zimoun Date: Mon, 22 Nov 2021 16:35:23 +0100 Message-Id: <20211122153526.51833-4-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211122153526.51833-1-zimon.toutoune@gmail.com> References: <20211122153526.51833-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637595472; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bvo9PfC3ZyAVINK8SNVRmKxF3GEHOX58M7tRJgvzYlM=; b=r60jHKZoIn/SZSMHC3JYOT1z/rkMio03IX2YF+2kvm0I+jCLIgyPGgPS/ARxzCtnS0IZTG PaJGH2y/7NRfjlzEsz6qAb0dmZaFCVMLm8O9eQVfmTPUhfH7RMgycMFuEJi39IsY6jDzA2 747dFLRYrQZO80TGMYaqST+Zd1e3ZwJgCptPOP0F+jdeZyNVVqciH92dhUHv+LBNxokM7p vyS6xCe2VnaB3OrayDfBXaLIgNMbcFnlqZM8ChcDwWbt7e5/UdVL1wwFEdi5sjoK4QAACM 17ZYtU4qnVZk4j+lwuknSs522J0dzqoMow4XnVcwmMhUYASSc5AcHg824wecww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637595472; a=rsa-sha256; cv=none; b=aYZVMfr2xzMtwAKjM4ESZAEb6O0CxKIwks4jE1+XeBK7Iq0Cfjv+L1gGHsRsqcqtqTqMVL wCvDJK2P/fu8EGhKa1Kd6MlibgkvBQ6TCntwHSllujML3iiMnnsKstT62MvcQUB+f9ifY7 GMLb4PigruVSbQ2o7dubX/6j1uARgGXsQ5XerWQerZfAI5CvypUmlJlrXztCmhpqBnM5KD QwXA2ubXJpuUWCx/nr1jYI0StCoKAPWc4ugqpq2UyjQfTyoa6jrBLbnA8Wj3fyUGVkEv9H anVBmp3hcgH7NaV3zYWti1HU9wIxmz8dUO/AzmOFulpAeNmiQgahFU8Ix5VFtg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=e0gG8jRo; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.72 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=e0gG8jRo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 08039C23A X-Spam-Score: 3.72 X-Migadu-Scanner: scn1.migadu.com X-TUID: jGR2q9BIJ1FD * gnu/packages/ocaml.scm (ocaml-charinfo-width): Replace 'url-fetch' by 'git-fetch' and update to unreleased commit. --- gnu/packages/ocaml.scm | 49 ++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 82670fec7f..92ace48abb 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -3992,30 +3992,33 @@ (define-public ocaml-camomile (license license:lgpl2.0+))) (define-public ocaml-charinfo-width - (package - (name "ocaml-charinfo-width") - (version "1.1.0") - (source (origin - (method url-fetch) - (uri (string-append "https://bitbucket.org/zandoye/charinfo_width" - "/get/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "00bv4p1yqs8y0z4z07wd9w9yyv669dikp9b04dcjbwpiy2wy0086")))) - (build-system dune-build-system) - (propagated-inputs - `(("ocaml-result" ,ocaml-result) - ("ocaml-camomile" ,ocaml-camomile))) - (native-inputs - `(("ocaml-ppx-expect" ,ocaml-ppx-expect))) - (properties - `((upstream-name . "charInfo_width"))) - (home-page "https://bitbucket.org/zandoye/charinfo_width/") - (synopsis "Determine column width for a character") - (description "This module is implements purely in OCaml a character width + ;; Add LICENSE file and Dune tests + (let ((commit "20aaaa6dca8f1e0b1ace55b6f2a8ba5e5910b620")) + (package + (name "ocaml-charinfo-width") + (version (git-version "1.1.0" "1" commit)) + (home-page "https://github.com/kandu/charinfo_width/") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04gil5hxm2jax9paw3i24d8zyzhyl5cphzfyryvy2lcrm3c485q0")))) + (build-system dune-build-system) + (propagated-inputs + `(("ocaml-result" ,ocaml-result) + ("ocaml-camomile" ,ocaml-camomile))) + (native-inputs + `(("ocaml-ppx-expect" ,ocaml-ppx-expect))) + (properties + `((upstream-name . "charInfo_width"))) + (synopsis "Determine column width for a character") + (description "This module is implements purely in OCaml a character width function that follows the prototype of POSIX's wcwidth.") - (license license:expat))) + (license license:expat)))) (define-public ocaml4.07-zed (package -- 2.32.0