unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 40100@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#40100] [PATCH 5/6] gnu: Add python-privy.
Date: Tue, 17 Mar 2020 09:20:39 +0200	[thread overview]
Message-ID: <20200317072040.31229-5-efraim@flashner.co.il> (raw)
In-Reply-To: <20200317071432.GM927@E5400>

* 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

  parent reply	other threads:[~2020-03-17  7:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-17  7:14 [bug#40100] [PATCH 0/7] Some python packages Efraim Flashner
2020-03-17  7:20 ` [bug#40100] [PATCH 1/6] gnu: Add python-keyrings.alt Efraim Flashner
2020-03-17  7:20 ` [bug#40100] [PATCH 2/6] gnu: Add python-fusepyng Efraim Flashner
2020-03-17  7:20 ` [bug#40100] [PATCH 3/6] gnu: Add python-userspacefs Efraim Flashner
2020-03-17  7:20 ` [bug#40100] [PATCH 4/6] gnu: Add python-argon2-cffi Efraim Flashner
2020-03-17  7:20 ` Efraim Flashner [this message]
2020-03-17  7:20 ` [bug#40100] [PATCH 6/6] gnu: Add python-block-tracing Efraim Flashner
2020-03-22  8:21 ` bug#40100: [PATCH 0/7] Some python packages Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200317072040.31229-5-efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=40100@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).