From patchwork Wed Sep 7 18:33:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garek Dyszel X-Patchwork-Id: 42275 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4D97F27BBEA; Wed, 7 Sep 2022 19:34:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 074E027BBE9 for ; Wed, 7 Sep 2022 19:34:26 +0100 (BST) Received: from localhost ([::1]:55708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVzsW-0004hc-VP for patchwork@mira.cbaines.net; Wed, 07 Sep 2022 14:34:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVzsB-0004ep-1f for guix-patches@gnu.org; Wed, 07 Sep 2022 14:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVzsA-0005Fh-Ol for guix-patches@gnu.org; Wed, 07 Sep 2022 14:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVzsA-0007ya-J6 for guix-patches@gnu.org; Wed, 07 Sep 2022 14:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57540] [RFC PATCH v2 03/19] gnu: Add ocaml-ansiterminal.* gnu/packages/ocaml.scm (ocaml-ansiterminal): New variable. References: <79d544f7d8ba64b631a6f0f1d2ef0b08@disroot.org> In-Reply-To: <79d544f7d8ba64b631a6f0f1d2ef0b08@disroot.org> Resent-From: Garek Dyszel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 07 Sep 2022 18:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57540 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 57540@debbugs.gnu.org Received: via spool by 57540-submit@debbugs.gnu.org id=B57540.166257558830519 (code B ref 57540); Wed, 07 Sep 2022 18:34:02 +0000 Received: (at 57540) by debbugs.gnu.org; 7 Sep 2022 18:33:08 +0000 Received: from localhost ([127.0.0.1]:56208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVzrH-0007wB-SM for submit@debbugs.gnu.org; Wed, 07 Sep 2022 14:33:08 -0400 Received: from knopi.disroot.org ([178.21.23.139]:38696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVzrF-0007w3-Oh for 57540@debbugs.gnu.org; Wed, 07 Sep 2022 14:33:06 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 2E4DE49FCA; Wed, 7 Sep 2022 20:33:05 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id seUIkKGZIOOP; Wed, 7 Sep 2022 20:33:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662575583; bh=3mnxBZR2b80pfRb0QAsvr5JEXkBQK0V1dv56pU6qxSs=; h=From:To:Cc:Subject:Date; b=dvN2mOm/aamiMIht7tSJ5AoZeqYgXHN+dnRcJ81NNkFfaNh6pCEV4XiM4ciGZP686 yGmUXsJD9qcrQIRzKBq5F1pfvIh1yGqcn+0JTPhujkurFQhzFTiJsnGNzvghxPCsWy 92HASwtrCKFas6jGhnTdCqSeDJeYiO7sIDhs6t0QgkbHd/yvyMlVpB+zKpSUAHByNl wEVjoT7IMZrSjYE71omjtX55xlc19QivGbvln3FYiKmg/bQrUNNjz4FsgYF/eO5EtS biAl5uoscr2BTYjsvMwHfsL3J8mxYMWBB0yLxjyfmUr6eAYfUJhpJi6/pxFwIHKJys BZpd/7GyoGPCw== Date: Wed, 07 Sep 2022 14:33:00 -0400 Message-ID: <87pmg7vxur.fsf@disroot.org> Mime-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Garek Dyszel X-ACL-Warn: , Garek Dyszel via Guix-patches X-Patchwork-Original-From: Garek Dyszel via Guix-patches via From: Garek Dyszel X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ocaml.scm (ocaml-ansiterminal): New variable. --- gnu/packages/ocaml.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 11b982519b..ac0e0c0bc1 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8929,3 +8929,32 @@ (define-public ocaml-atd good fit with a variety of data formats.") ;; Modified BSD license (license (license:non-copyleft "LICENSE.md")))) + +(define-public ocaml-ansiterminal + (package + (name "ocaml-ansiterminal") + (version "0.8.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Chris00/ANSITerminal") + (commit version) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "052qnc23vmxp90yympjz9q6lhqw98gs1yvb3r15kcbi1j678l51h")))) + (build-system dune-build-system) + (arguments + `(#:test-target "tests")) + (home-page "https://github.com/Chris00/ANSITerminal") + (synopsis + "Basic control of ANSI compliant terminals and the windows shell") + (description + "ANSITerminal is a module allowing to use the colors and cursor +movements on ANSI terminals.") + ;; Variant of the GPL3 which permits + ;; static and dynamic linking when producing binary files. + ;; In other words, it allows one to link to the library + ;; when compiling nonfree software. + (license (license:non-copyleft "LICENSE"))))