From patchwork Fri Sep 2 15:22:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garek Dyszel X-Patchwork-Id: 42149 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 25ECC27BBEA; Fri, 2 Sep 2022 16:29:01 +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 D5FA527BBE9 for ; Fri, 2 Sep 2022 16:29:00 +0100 (BST) Received: from localhost ([::1]:49384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU8bM-0003Lx-2Y for patchwork@mira.cbaines.net; Fri, 02 Sep 2022 11:29:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU8ZT-0000Yg-Bd for guix-patches@gnu.org; Fri, 02 Sep 2022 11:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oU8ZS-0006xp-FD for guix-patches@gnu.org; Fri, 02 Sep 2022 11:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oU8ZS-00080J-Ai for guix-patches@gnu.org; Fri, 02 Sep 2022 11:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57540] [PATCH 2/6] gnu: Add ocaml-ansiterminal. 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: Fri, 02 Sep 2022 15:27: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: 57540@debbugs.gnu.org Received: via spool by 57540-submit@debbugs.gnu.org id=B57540.166213237530712 (code B ref 57540); Fri, 02 Sep 2022 15:27:02 +0000 Received: (at 57540) by debbugs.gnu.org; 2 Sep 2022 15:26:15 +0000 Received: from localhost ([127.0.0.1]:47466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU8Yh-0007zI-Dp for submit@debbugs.gnu.org; Fri, 02 Sep 2022 11:26:15 -0400 Received: from knopi.disroot.org ([178.21.23.139]:53302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU8Yf-0007z9-Sg for 57540@debbugs.gnu.org; Fri, 02 Sep 2022 11:26:14 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3ADF94A034 for <57540@debbugs.gnu.org>; Fri, 2 Sep 2022 17:26:13 +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 UTF8SMTP id PLVtr_3yA-2I for <57540@debbugs.gnu.org>; Fri, 2 Sep 2022 17:26:11 +0200 (CEST) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1662132123; bh=9gXcLFsmbbrJHOZiMRQPAjFQfPnORXE80LTa6Yd+CEg=; h=Date:From:To:Subject; b=I7Clv87kcPOU+MMXv19C1PuSj018Uq4a90tYOvr13nxpgN43L8G1LSxY586GvKJMq ftFV+yvW1wb/Ses8dSOO+9khWDeA66yhFLgi4JJMA/8gIekN4J39G5WZFHJ9OruRTH yEnu9FvgK58XYyMvwpGq3rVs+wXiQgUuZrQ2Uq+eCivl/zOmVDwbjSg+j1K5P3GZ5W b1JlgyLw5KfKT332fBhohr5tUyuSnu4Mu8bD5Y2X+0OLEt2WJSPFBZtKoVGKfGab9b Zm3rBEmfxXJQ2dVHQhBF9RdGYNLw2KKwKhbIKvxTBaKpQ/unDS3ee2e6RDYfDzdVm4 9ZBsChjNB/nTQ== Date: Fri, 02 Sep 2022 11:22:03 -0400 Message-ID: X-Sender: garekdyszel@disroot.org 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) --- gnu/packages/ocaml.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) + (license (license:non-copyleft "LICENSE")))) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index c8ffef5..43c19c0 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -8878,3 +8878,34 @@ (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 + `( ;Error: Don't know about directory test specified on the + ;; command line! + #:tests? #f)) + (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.