From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sCYwMJe/tGJJPQEAbAwnHQ (envelope-from ) for ; Thu, 23 Jun 2022 21:31:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iOU6L5e/tGJRlgAAG6o9tA (envelope-from ) for ; Thu, 23 Jun 2022 21:31:35 +0200 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 4543B7386 for ; Thu, 23 Jun 2022 21:31:35 +0200 (CEST) Received: from localhost ([::1]:36310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4SYA-0004O6-00 for larch@yhetil.org; Thu, 23 Jun 2022 15:31:34 -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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Nikolay Korotkiy X-ACL-Warn: , Nikolay Korotkiy via Guix-patches From: Nikolay Korotkiy via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656012695; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qG3Njvrfpelm9BIRaTSf1SpgXWSDZ/byurOY2mRFufE=; b=vCb2IXoTW3F1pMJMJbKRf5FlmoLOW+JS+t3jzdHcpsvriAGddS5g8LJKfgWOIvdJoBpWg3 kTsXRiNq9SR7FcvLAWUlrv3x5aGfxfX85+EIz/opv87gRe8VoHSoFb1F+Ub0bLZ1NesPjE zyJVZdLaeqG2SEyKURIk83tLkDAuwxOQlzjmuDeLtdbZtMvnnlfNzTK1Cs2Ekt4aIK8vb0 X0+vOMhjUggRDO/F+Pr8iqqP4dPtp1Io6MXxf5CIMWom9UZpu12X0X4WYZVMQnwHAz6euN SvWvIl9/Cxio9NwdtEseL1sxs2a6qSpd2TT5di5aND9o15isEyhy4aPL+AXDOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656012695; a=rsa-sha256; cv=none; b=a7gZUdiJ491ri/bPXD9qmQesRqsAiSq1eROKvZohHv4mWQEzApgy2JhVN3gbCse0Mubkz9 96hiy3pIjIP7QYIMhwMsgamBytoSywXiUmzEomqV8AxUJ3k7JIMDYjScrNI+JCKAKze01D i3jBW7iqhPFQF8HMLCRFQ8wnub9sM608AL6DO7cM5G1bfoJDAVtRLHUgjJgHUmamdhjZLl L9Th4UJTMOcgQWZWg0IeUE8Daluk7U0zeOic+um5JKOuUfE/HKcSsyUjL0KsHLr81ajI57 Tz/FJBnwRbpvtZI2N/lHSr2KAcBv8kOeTgOJXFNKQy++8zIgjK3a1MXE+oNdXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=EEwNmFyo; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=EEwNmFyo; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4543B7386 X-Spam-Score: -2.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: VijTxS4VXMss * 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" + (("