From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:43320) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO74h-0006ma-Sh for guix-patches@gnu.org; Mon, 13 Apr 2020 17:57:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO74g-0000Pa-Qt for guix-patches@gnu.org; Mon, 13 Apr 2020 17:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49449) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jO74g-0000PW-Nk for guix-patches@gnu.org; Mon, 13 Apr 2020 17:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jO74g-0004q2-My for guix-patches@gnu.org; Mon, 13 Apr 2020 17:57:02 -0400 Subject: [bug#40575] [PATCH] gnu: Add python-diceware. References: <20200412150036.6508-1-kraai@ftbfs.org> In-Reply-To: <20200412150036.6508-1-kraai@ftbfs.org> Resent-Message-ID: From: Matthew Kraai Date: Mon, 13 Apr 2020 14:55:50 -0700 Message-Id: <20200413215550.21733-1-kraai@ftbfs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: 40575@debbugs.gnu.org Cc: Matthew Kraai * gnu/packages/python-xyz.scm (python-diceware, python2-diceware): New public variables. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2ecf7115ab..e089d91979 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -75,6 +75,7 @@ ;;; Copyright © 2020 Alexandros Theodotou ;;; Copyright © 2020 Lars-Dominik Braun ;;; Copyright © 2020 Alex ter Weele +;;; Copyright © 2020 Matthew Kraai ;;; ;;; This file is part of GNU Guix. ;;; @@ -19521,3 +19522,27 @@ there are extensions that allow you to use it with other frameworks.") register external CLI commands via setuptools entry-points.") (home-page "https://github.com/click-contrib/click-plugins") (license license:bsd-3))) + +(define-public python-diceware + (package + (name "python-diceware") + (version "0.9.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "diceware" version)) + (sha256 + (base32 + "0klb0ysybzlh2wihvir82hgq62v0jjmlcqklwajyms7c0p529yby")))) + (build-system python-build-system) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) + (home-page "https://github.com/ulif/diceware/") + (synopsis "Generates memorable passphrases") + (description "This package generates passphrases by concatenating words +randomly picked from wordlists. It supports several sources of +randomness (including real life dice) and different wordlists (including +cryptographically signed ones).") + (license license:gpl3+))) -- 2.26.0