From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:45625) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jE6a3-000541-9p for guix-patches@gnu.org; Tue, 17 Mar 2020 03:24:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jE6a2-000335-2V for guix-patches@gnu.org; Tue, 17 Mar 2020 03:24:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60396) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jE6a1-00031n-Ts for guix-patches@gnu.org; Tue, 17 Mar 2020 03:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jE6a1-0003Mu-QI for guix-patches@gnu.org; Tue, 17 Mar 2020 03:24:01 -0400 Subject: [bug#40100] [PATCH 5/6] gnu: Add python-privy. References: <20200317071432.GM927@E5400> In-Reply-To: <20200317071432.GM927@E5400> Resent-Message-ID: From: Efraim Flashner Date: Tue, 17 Mar 2020 09:20:39 +0200 Message-Id: <20200317072040.31229-5-efraim@flashner.co.il> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40100@debbugs.gnu.org Cc: Efraim Flashner * gnu/packages/python-crypto.scm (python-privy): New variable. --- gnu/packages/python-crypto.scm | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index be8f0a9bff..8a877449ae 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1347,3 +1347,38 @@ I/O-free core, and integration modules for different event loops.") both a configurable runtime as well as memory consumption. This means that you can decide how long it takes to hash a password and how much memory is required.") (license license:expat))) + +(define-public python-privy + (package + (name "python-privy") + (version "6.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + ;; Releases are untagged + (url "https://github.com/ofek/privy") + (commit "2838db3df239797c71bddacc48a4c49a83f35747"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1m32dh5fqc8cy7jyf1z5fs6zvmdkbq5fi98hr609gbl7s0l0y0i9")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "python" "-m" "pytest")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-argon2-cffi" ,python-argon2-cffi) + ("python-cryptography" ,python-cryptography))) + (home-page "https://www.dropbox.com/developers") + (synopsis "Library to password-protect your data") + (description + "Privy is a small and fast utility for password-protecting secret +data such as API keys, cryptocurrency wallets, or seeds for digital +signatures.") + (license (list license:expat license:asl2.0)))) ; dual licensed -- 2.25.1