From patchwork Thu Mar 3 09:11:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 37582 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8072727BBEB; Thu, 3 Mar 2022 09:12:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CEDAF27BBEA for ; Thu, 3 Mar 2022 09:12:20 +0000 (GMT) Received: from localhost ([::1]:42314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPhVT-0002lS-Tt for patchwork@mira.cbaines.net; Thu, 03 Mar 2022 04:12:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPhVC-0002kz-HR for guix-patches@gnu.org; Thu, 03 Mar 2022 04:12:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPhVC-0006Rd-8X for guix-patches@gnu.org; Thu, 03 Mar 2022 04:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nPhVC-00017F-4K for guix-patches@gnu.org; Thu, 03 Mar 2022 04:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54229] [PATCH] gnu: Add python-bip39. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Mar 2022 09:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54229 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54229@debbugs.gnu.org Cc: Attila Lendvai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16462986994259 (code B ref -1); Thu, 03 Mar 2022 09:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Mar 2022 09:11:39 +0000 Received: from localhost ([127.0.0.1]:41453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPhUp-00016d-B2 for submit@debbugs.gnu.org; Thu, 03 Mar 2022 04:11:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:60970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPhUn-00016U-20 for submit@debbugs.gnu.org; Thu, 03 Mar 2022 04:11:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPhUm-0002cQ-UB for guix-patches@gnu.org; Thu, 03 Mar 2022 04:11:36 -0500 Received: from [2a00:1450:4864:20::52e] (port=36431 helo=mail-ed1-x52e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPhUl-0006OT-6J for guix-patches@gnu.org; Thu, 03 Mar 2022 04:11:36 -0500 Received: by mail-ed1-x52e.google.com with SMTP id o1so4678081edc.3 for ; Thu, 03 Mar 2022 01:11:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/8DdjAW1yicqWxSFYqRs1DTEOe6Mt5tNqspupc4z3Rc=; b=D+WHK35tyhLIfOGlRrz3iDj6SI95oyGFY0eghT0JiTz8iRG7SLyMEdEvMG+T9SLCYB mSo2dd2Gok0aXSO2ZVeH5mm80yCayDLxlsKkLnowMGg7U4tTKEyPF+P4NsLqo5uQuLzb 1GcNlr2GuHJ12JXK5l5ihRQdwOS0p6lxlzNKaP3fwMUJ5ATZQJJ0857e1VKOzZTpvzmh EZVbJsw5bhwv9z236j2z0NwmZsHx6fVAbfegNqZfQY0WJqNQlhIVlOexXTYbAKP1Pk/8 V2I1X0GbrWxHMNHBsVAbwaeG2LP2sw3atFcRTP8DR4RSDr2Oik9Bp/twM5rKFrcpBL2B Hj/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=/8DdjAW1yicqWxSFYqRs1DTEOe6Mt5tNqspupc4z3Rc=; b=WNpXAyQN1c2zPC60zDebif0uyLb3+nA2RETX34NWiNXtMuxex3OghvZo41uAVLH6fo Xr7XNxO7T/so6SY3nONwpNM1tjXaISH4BUKak69Ulydboe7+cYWtBv61/MpnqsDI07/g bEw9kBHlReVDICXN4t8nyOPsolnWUk3//05PCmSj7y1ns0YnZsxUecoDqCWX76bs3vD2 wwrPPj/fKqnyxkmw624oGqzXSLY1tAcDGx48MbPoMUzL980AgDPRm9MF4sk0vNm4P4YR uoISRP34+lnikTo5oYyt7fKl+tRFvT3786phcdFnlJnqNybe+xrLYSF7EJ1MCgr58lqT b90g== X-Gm-Message-State: AOAM530Iap8RKjBhck90N7C3ZqdngyhtAa8gcNDCrnQmzFTTPOe+RoBf lbmPcAJxMsj2T4iB1vLHB7B445NoIzg= X-Google-Smtp-Source: ABdhPJwfYJOg4pA4rl5upQa6zqwNB69r4W30SmYYxQLfYW5+e4eH5VHdlcFn/htI/kMr4V7Q+ZCrEQ== X-Received: by 2002:a05:6402:1cc1:b0:413:2b12:fc49 with SMTP id ds1-20020a0564021cc100b004132b12fc49mr33486591edb.118.1646298693073; Thu, 03 Mar 2022 01:11:33 -0800 (PST) Received: from lelap.local (catv-89-132-245-188.catv.fixed.vodafone.hu. [89.132.245.188]) by smtp.gmail.com with ESMTPSA id p14-20020aa7cc8e000000b0040f13865fa9sm600893edt.3.2022.03.03.01.11.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 01:11:32 -0800 (PST) From: Attila Lendvai Date: Thu, 3 Mar 2022 10:11:05 +0100 Message-Id: <20220303091104.26336-1-attila@lendvai.name> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::52e (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=attila.lendvai@gmail.com; helo=mail-ed1-x52e.google.com X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-bip39): New variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c05502388e..ea6694972e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1242,6 +1242,29 @@ (define-public python-bidict for working with bidirectional mappings in Python.") (license license:mpl2.0))) +(define-public python-bip39 + (package + (name "python-bip39") + (version "0.0.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "bip39" version)) + (sha256 + (base32 "18m7d3gi7vj2zi0bl1z7m0nhcj6i8j9vj4vil276siagnpkv64ry")))) + (build-system python-build-system) + (native-inputs (list python-pytest)) + (home-page "https://github.com/de-centralized-systems/python-bip39/") + (synopsis "Self-contained and simple BIP39 implementation in Python") + (description + "This package provides a self-contained and simple BIP39 +implementation written in Python. It includes a @code{bip39.py} executable. + +BIP39 is a standardized mapping between binary data (the @emph{entropy}), +and a list of words that are easier to remember for humans (the +@emph{mnemonic}).") + (license license:expat))) + (define-public python-bitarray (package (name "python-bitarray")