From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eFDjCGd5IWMqsgAAbAwnHQ (envelope-from ) for ; Wed, 14 Sep 2022 08:49:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4P7XB2d5IWPBIwEAG6o9tA (envelope-from ) for ; Wed, 14 Sep 2022 08:49:11 +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 E014E32ECD for ; Wed, 14 Sep 2022 08:49:10 +0200 (CEST) Received: from localhost ([::1]:40504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYMCr-0003yi-U2 for larch@yhetil.org; Wed, 14 Sep 2022 02:49:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYMCk-0003yL-Ev for guix-patches@gnu.org; Wed, 14 Sep 2022 02:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYMCk-0007Zl-1R for guix-patches@gnu.org; Wed, 14 Sep 2022 02:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYMCj-0003Mg-T4 for guix-patches@gnu.org; Wed, 14 Sep 2022 02:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57794] [PATCH 1/1] gnu: Add cpass. References: <20220914064724.2589-1-paren@disroot.org> In-Reply-To: <20220914064724.2589-1-paren@disroot.org> Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Sep 2022 06:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57794 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57794@debbugs.gnu.org Cc: "\(" Received: via spool by 57794-submit@debbugs.gnu.org id=B57794.166313811912903 (code B ref 57794); Wed, 14 Sep 2022 06:49:01 +0000 Received: (at 57794) by debbugs.gnu.org; 14 Sep 2022 06:48:39 +0000 Received: from localhost ([127.0.0.1]:53505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYMCM-0003M3-Rp for submit@debbugs.gnu.org; Wed, 14 Sep 2022 02:48:39 -0400 Received: from knopi.disroot.org ([178.21.23.139]:55918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYMCK-0003Lt-EU for 57794@debbugs.gnu.org; Wed, 14 Sep 2022 02:48:37 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id C3DF249FEB; Wed, 14 Sep 2022 08:48:35 +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 2roPJaz90k7I; Wed, 14 Sep 2022 08:48:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1663138114; bh=lmCON3rjpIcXaxPvGpWY1HC4xX0ZntNd/u+tsiLfPFU=; h=From:To:Cc:Subject:Date; b=UqsMnHIPl4K3v1/gGT3ksDHc7jJirFMyacUCgLD51nSMYz86+fDb1LbwgILT8YDes mGtWUIkl9Es1DB8ofIayjyGli5TASMGMs65JnmnRdYZ2EYAwapurxWPcnlZhCrY7ea jfMzQ56RkkjrsnTubeANBLmVXpNsxv/wABfuGT61pZb14BSzxxak2CGJF3Z4I2WUSz RXkA7a/f4gj9++2nueWiQi4R2aTPl1akjyh7yXbRKJT/1FrzuG+sO2ij9xGEBYgJyV XZy7bFJh19qERJtYpmkc7er6lOLjsbcOFO7CXqIqa0EJYQb8vbSUvEHfRcjTlieUBu Z2hmBuvRsvwXQ== Date: Wed, 14 Sep 2022 07:48:32 +0100 Message-Id: <20220914064832.2688-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( 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=1663138150; 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-type:content-type: content-transfer-encoding:content-transfer-encoding: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=xz+2nrEAGwYRxgbcTCfy9R/5/9ew8hdSFvZuBvCliyk=; b=JiTeAr/Hp/vlqe8B3oWPvCNfUvzBOCaT38jj67Gxb0f++3iw0daPViWxesvnyW7qUwWpfR OErv+BRnL3tG/murLLrJNUqq53JkZbBQimqMwhgoDS26FVL4Qxx4EdiBawx7ANamu/70n4 jJY+NKu7sktA4r7yyMA9tmZ1ZmVRnulJdLcng1EcsTmPNnqqL73YULSUDF8Xor/1UPoqrf JJjrHj0LIHl2PyZn8WkbpgfVRzGOi1rp/jIZg9DfKMLmWvX/FZPsVQLpQ1+QH9hwOnFFCi sEJzmVfaQMX8n6syKpMGrPsRvV+WvByvV+bzOKw/o13bPjFXuMSg4gbUqN+TOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663138150; a=rsa-sha256; cv=none; b=oh9mrlyQgT5zw5RWIs2TAqxcOdRgS30To152iYWRJnfpqWZIH8kp80dlZIxqYoLChwvZFc yh+zC4u1DzRB3g7DC6zbCEj73VXAqXvHH/wUIe1Y3pvdzc+avxthLPfIaYWF43uCQyzu2z RJ3HvUJBYshT9KraJXlDWqLNTILBmh9ZAP4r5XaL2o20cfUNwaA9BjXyFedu6o2YU9O8g1 OTVQ0Y63YOvC+CgyPTgSHLiC8Llju1V0YuPjhUH9JXceO5G4nvcUPY+rW6jYOeVS/QHIyW Zb4IDGhUvE9qIyXNncuza2epTK1IjQo7Loq4+j3CcD50uZNkJfpnYfTPo+0/Cw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=UqsMnHIP; 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: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=UqsMnHIP; 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: E014E32ECD X-Spam-Score: -1.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: EMcyGqNmejtT * gnu/packages/password-utils.scm (cpass): New variable. --- gnu/packages/password-utils.scm | 38 +++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 003e346305..bcc1d9421d 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -36,6 +36,7 @@ ;;; Copyright © 2021 David Dashyan ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 Maxime Devos +;;; Copyright © 2022 ( ;;; ;;; This file is part of GNU Guix. ;;; @@ -58,6 +59,7 @@ (define-module (gnu packages password-utils) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system go) + #:use-module (guix build-system python) #:use-module (guix build-system trivial) #:use-module (guix download) #:use-module (guix gexp) @@ -109,8 +111,7 @@ (define-module (gnu packages password-utils) #:use-module (gnu packages wxwidgets) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) - #:use-module (gnu packages xml) - #:use-module (guix build-system python)) + #:use-module (gnu packages xml)) (define-public pwgen (package @@ -1315,3 +1316,36 @@ (define-public pass-tomb therefore you don't need to manage more key or secret. Moreover, you can ask pass-tomb to automatically close your store after a given time.") (license license:gpl3+))) + +(define-public cpass + (package + (name "cpass") + (version "0.9.4") + (source (origin + (method url-fetch) + (uri (pypi-uri "cpass" version)) + (sha256 + (base32 + "1zp3a8mgqxn916fzj1v2yhgnl7v6s0vnd0qcghqs3qq648qmlwr5")))) + (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-pass-refs + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "cpass.py" + (("'pass'") + (string-append "'" + (search-input-file inputs + "bin/pass") + "'")) + (("\\.password_store") + ".password-store"))))))) + (inputs (list password-store)) + (propagated-inputs (list python-urwid)) + (home-page "https://github.com/OliverLew/cpass") + (synopsis "Textual interface for @command{pass}") + (description + "@command{cpass} is a terminal user interface for @command{pass}. +It supports both vim-like keybindings and the mouse.") + (license license:expat))) -- 2.37.3