From patchwork Thu Jun 23 19:30:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikolay Korotkiy X-Patchwork-Id: 40274 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 7C54227BBEA; Thu, 23 Jun 2022 20:31:38 +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 F1E6227BBE9 for ; Thu, 23 Jun 2022 20:31:37 +0100 (BST) Received: from localhost ([::1]:36310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4SYD-0004O6-2r for patchwork@mira.cbaines.net; Thu, 23 Jun 2022 15:31:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4SXe-00048n-Cq for guix-patches@gnu.org; Thu, 23 Jun 2022 15:31:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4SXe-0004ev-26 for guix-patches@gnu.org; Thu, 23 Jun 2022 15:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4SXd-0004dR-Vl for guix-patches@gnu.org; Thu, 23 Jun 2022 15:31:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56174] [PATCH] gnu: Add mle. Resent-From: Nikolay Korotkiy Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jun 2022 19:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56174 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56174@debbugs.gnu.org Cc: Nikolay Korotkiy X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165601264917793 (code B ref -1); Thu, 23 Jun 2022 19:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jun 2022 19:30:49 +0000 Received: from localhost ([127.0.0.1]:39945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4SXQ-0004cv-H5 for submit@debbugs.gnu.org; Thu, 23 Jun 2022 15:30:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:43246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4SXO-0004cn-In for submit@debbugs.gnu.org; Thu, 23 Jun 2022 15:30:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4SXM-0003ut-SY for guix-patches@gnu.org; Thu, 23 Jun 2022 15:30:45 -0400 Received: from knopi.disroot.org ([178.21.23.139]:60694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4SXK-0004by-Cd for guix-patches@gnu.org; Thu, 23 Jun 2022 15:30:44 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4F6A3458FE; Thu, 23 Jun 2022 21:30:38 +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 xTvwjndLikqB; Thu, 23 Jun 2022 21:30:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1656012636; bh=/R5Okxfh1FsJRAqOSDn1wjhSIJdHp0GkJxU4Eh3s8Dk=; h=From:To:Cc:Subject:Date; b=EEwNmFyo4s44tXLmjJb61+szVD4IgcvhjbMAJgHrRFD5jNH0GYow/v/v+qmUE1lIx ZF4xKLGsT+xERjnQjDMNJfo5uFY2CAPz4P5mpacauK/F8ByxpnJMIS+ZN3uHFS6lke 25VlFofVZPX3jSbshU/aV0IFd46tELLPchJrZkQ/hBKteCd0FsLqg+QShygueyKAml RkDTqyWlbY1BtKL3MYAkfeqrK1MEH1oFwez5fNZXD8GullVDNWENx7c70lB1ib13E9 upWG/n8X4mMS3EDUXTYEWb0IuN60gFW54jpmwYa9F5zMQaSNovDqc5HZn+mqd3GWNF 8LE50QD6gS/sA== Date: Thu, 23 Jun 2022 22:30:11 +0300 Message-Id: <68d2c3b91f55a2058e01fb6a8217cf2e8a0c43f3.1656012611.git.sikmir@disroot.org> Mime-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=sikmir@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Nikolay Korotkiy X-ACL-Warn: , Nikolay Korotkiy via Guix-patches X-Patchwork-Original-From: Nikolay Korotkiy via Guix-patches via From: Nikolay Korotkiy X-getmail-retrieved-from-mailbox: Patches * gnu/packages/text-editors.scm (mle): New variable. --- gnu/packages/text-editors.scm | 52 +++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 1c936be6a8..03df69667a 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -56,6 +56,7 @@ (define-module (gnu packages text-editors) #:use-module (gnu packages code) #:use-module (gnu packages cpp) #:use-module (gnu packages crates-io) + #:use-module (gnu packages datastructures) #:use-module (gnu packages documentation) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) @@ -1215,3 +1216,54 @@ (define-public tree-sitter This package includes the @code{libtree-sitter} runtime library. ") (license license:expat))) + +(define-public mle + (package + (name "mle") + (version "1.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/adsr/mle") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1nhd00lsx9v12zdmps92magz76c2d8zzln3lxvzl4ng73gbvq3n0")))) + (build-system gnu-build-system) + (inputs (list lua pcre uthash)) + (arguments + `(#:test-target "test" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-lua + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "mle.h" + (("