From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kICYGqVrI2RGwAAASxT56A (envelope-from ) for ; Wed, 29 Mar 2023 00:35:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sOpAGqVrI2SjOQAAauVa8A (envelope-from ) for ; Wed, 29 Mar 2023 00:35:17 +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 144522FBE1 for ; Wed, 29 Mar 2023 00:35:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phHuC-00031K-1r; Tue, 28 Mar 2023 18:35:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phHuA-000316-Nb for guix-patches@gnu.org; Tue, 28 Mar 2023 18:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phHuA-0003Dk-2Q for guix-patches@gnu.org; Tue, 28 Mar 2023 18:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phHu9-0001b6-OK for guix-patches@gnu.org; Tue, 28 Mar 2023 18:35:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62123] [PATCH 3/4] gnu: Add emacs-pippel. Resent-From: Rostislav Svoboda Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Mar 2023 22:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62123 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 62123@debbugs.gnu.org Received: via spool by 62123-submit@debbugs.gnu.org id=B62123.16800428986128 (code B ref 62123); Tue, 28 Mar 2023 22:35:01 +0000 Received: (at 62123) by debbugs.gnu.org; 28 Mar 2023 22:34:58 +0000 Received: from localhost ([127.0.0.1]:50844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phHu5-0001al-UA for submit@debbugs.gnu.org; Tue, 28 Mar 2023 18:34:58 -0400 Received: from mail-lf1-f43.google.com ([209.85.167.43]:39688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phHu4-0001aY-0g for 62123@debbugs.gnu.org; Tue, 28 Mar 2023 18:34:56 -0400 Received: by mail-lf1-f43.google.com with SMTP id h25so17761191lfv.6 for <62123@debbugs.gnu.org>; Tue, 28 Mar 2023 15:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680042890; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/XazOdwHJFC2Ynu2KRXafsb7ev1LsXcIsCxXPngSAXk=; b=Lo2BKiNxX/t/92/BfngwsYOfc5MpII6E8eRiUdEiP4TB37+P25OAq9F8WpsWYy80ZR +7vk7cLNFAXpp8LpenAiHVnC+TOlrU/FML0n7ReibDjgAYGywI66ZSFtzfSRuXsX7MZM E/Q+5CfzlSppFQR+DdQJeBngMjTFXpUTAvqZUpKr1fxlVFcxkgfXXm2hU3Dg747Y8xSZ T9bfyu6Gi5+dGL/GfrbO13nrmNi19AUd08qZtYdohJ+y/+qzm2J0fPJLAkuMtokVCg/s tpaJx8YwI+up7Ghp6CVFqFTCkOQ9tR/Hw1tyE5yDUHPPsMX6Amtg/ioi5Oyzaoipd7+k bW1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680042890; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/XazOdwHJFC2Ynu2KRXafsb7ev1LsXcIsCxXPngSAXk=; b=zgbwg5Rxaxtrmu7m2d/Rnqi5Nqb7bhQh6eCluQagAhXIETrMx8D/wjM1/VUyzR52K/ JAAh7Waxpu8YFRIUFRJZT0za+mZxKmIgYJbu4XSNdMjbThJY3IYTjIsxVNNqVLyn1Bx/ tMWILNjwrdSD8XT0DIkDyjWIGX9rtZkpyq8ypANvTMXoYTjBOUG6L2DHswBTlVXR5pmh PquPpmUd+W2FhzZKgJK9JD6CgjxhDt//ZtxgQgfOssIUTxjmpmVzlSx7yeublvJk418b BHwOqwUeMu6ybB3rzMuX8SavhbeT/tE4l7KMQW60TCYlxnL6+LbU3rXUD3eEZ0AHG0xc tyww== X-Gm-Message-State: AAQBX9dec6sTBMNnjXqSp8hE1jCtV0CI29CXqUWbEi4QW+fHSI4JsOnP 1v+VDixGArnHyDbWEb3NzAVLydImODC0lc/1L10= X-Google-Smtp-Source: AKy350YQ+SCGkmnqEAxQvUTT2zSNcJCAi1HbAPb2ZkZWeEOgGQg58Ex/llqX7IY5RGoozC3hnlmjOo8CgcD2VT1QHPU= X-Received: by 2002:ac2:428b:0:b0:4d5:ca32:7bc5 with SMTP id m11-20020ac2428b000000b004d5ca327bc5mr4995567lfh.12.1680042889437; Tue, 28 Mar 2023 15:34:49 -0700 (PDT) MIME-Version: 1.0 References: <20230311144938.765-1-Rostislav.Svoboda@gmail.com> <20230311144938.765-3-Rostislav.Svoboda@gmail.com> <871qlndal1.fsf@nicolasgoaziou.fr> In-Reply-To: <871qlndal1.fsf@nicolasgoaziou.fr> From: Rostislav Svoboda Date: Wed, 29 Mar 2023 00:34:13 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680042917; a=rsa-sha256; cv=none; b=GqdUUMD9LSLiFwWDNFI5RgA26lrb4o5I9HJCEbpydxd4zWtHQsJttOcJKMpCuJMSCSgQ+Z OtposADD/7iVbDQTz1CzOIsdA9ILbWOPPBr1mk82hSJa7uIMD6UtT2DV/m/jMreatzzaDS mqnSTrIcuqq88PFCeuJHyjPPj21H+pcS9KaMToLFPpqv70VsHadfLawstZQi9zAOV3/04P yV4Hp4gOj/NzEIk/gz1GuXxaIgGo60tvMGl+ffdeEwJBcII/hg3Q5tIMMySLWCaZCztxjw QkxkIJpTN9rwkhpnJQQcQL1vl6XymG5GvlDsekVTA4N75gbymXRHrdIg4aBIVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Lo2BKiNx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680042917; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=/XazOdwHJFC2Ynu2KRXafsb7ev1LsXcIsCxXPngSAXk=; b=XNyLJWRMwfCTiouhEt291cKSzrZs4tWXtZ9CqM59hIcdoE6jLGpyZSUiKIebygjnpIexpk FqUdFa+WeyLzNUTFZqlUnESv8d7s/jw2jjjf/q+Jp9Uu9EwIXKyeoKuoj+V1xDwUFIoR+X eyY5Qxqg8cnA/g2onlObwu5ru8+bX0UzJyzvPgI+SQJTgVYaXbKTdbAEcyDT2ti2aIeMa/ 175QKB0oVdsrWjMzAfWfI+xNt4XChaqGbjBLQKaYOV0YUjXKlBSr0fTEiFLPxuQ96APCwD wZAvhqet5RrG45DV+cE0qVoxg5zJO1QANJ/7JHP1fe+/PidyUoeahtGu55na6w== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Lo2BKiNx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.63 X-Spam-Score: -0.63 X-Migadu-Queue-Id: 144522FBE1 X-TUID: H0rs5XtkwcY2 Hi Nicolas > Nitpick: usually, inputs and propagated inputs are located after arguments. Done > > + (arguments > > + (list #:phases #~(modify-phases %standard-phases > > You can add a newline characther after `list' and another one after > `#:phases'. Done > Also, pip -> Pip, pippel -> Pippel Done > I think you also need to include "pippel.py" file through #:include Done > keyword and possibly configure `pippel-package-path'. Done. Please have a look if it's done correctly. Cheers Bost >From 4b83e10686d8189568b756fe514d0be0d2c54750 Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Wed, 29 Mar 2023 00:15:12 +0200 Subject: [PATCH] gnu: Add emacs-pippel. * gnu/packages/emacs-xyz.scm (emacs-pippel): New variable. --- gnu/packages/emacs-xyz.scm | 48 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index da2856abc8..1cdaccd366 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -17288,6 +17288,54 @@ (define-public emacs-php-mode documentation search and a source and class browser.") (license license:gpl3+))) +(define-public emacs-pippel + (let ((commit "cb194952ee150e77601d3233dabdb521b976ee79") + (revision "0")) + (package + (name "emacs-pippel") + (version (git-version "0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/arifer612/pippel") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "17606l24yyrjxa4rc0p2zj50lfbayqldw4phhi59yqf61289d520")))) + (build-system emacs-build-system) + (arguments + (list + #:include #~(cons "^pippel\\.py$" %default-include) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'substitute-pippel-package-path + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (package-path (string-append + out + "/share/emacs/site-lisp/pippel-" + #$version))) + (emacs-substitute-variables "pippel.el" + ("pippel-package-path" + package-path))))) + (add-after 'unpack 'substitute-python-path + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-variables "pippel.el" + ("pippel-python-command" + (search-input-file + inputs + "/bin/python")))))))) + (inputs (list python-wrapper)) + (propagated-inputs (list emacs-dash emacs-s)) + (home-page "https://github.com/arifer612/pippel") + (synopsis "Emacs frontend to Python package manager Pip") + (description + "Pippel is an Emacs frontend for the Python package manager Pip. As +Pippel also uses Tabulated List mode, it provides a similar package menu like +@code{package-list-packages}.") + (license license:gpl3+)))) + (define-public emacs-pos-tip (package (name "emacs-pos-tip") -- 2.39.2