From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlo Zancanaro Subject: [PATCH 1/4] gnu: Add python-pbkdf2. Date: Tue, 3 Jan 2017 00:32:35 +1100 Message-ID: <20170102133238.17811-2-carlo@zancanaro.id.au> References: <20170102133238.17811-1-carlo@zancanaro.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cO2jM-00036o-2E for guix-devel@gnu.org; Mon, 02 Jan 2017 08:32:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cO2jJ-00024d-Fd for guix-devel@gnu.org; Mon, 02 Jan 2017 08:32:52 -0500 Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]:35408) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cO2jJ-00024A-Ak for guix-devel@gnu.org; Mon, 02 Jan 2017 08:32:49 -0500 Received: by mail-pg0-x235.google.com with SMTP id i5so139261558pgh.2 for ; Mon, 02 Jan 2017 05:32:49 -0800 (PST) Received: from localhost.localdomain (14-200-183-160.static.tpgi.com.au. [14.200.183.160]) by smtp.gmail.com with ESMTPSA id u124sm78466931pgb.6.2017.01.02.05.32.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jan 2017 05:32:47 -0800 (PST) In-Reply-To: <20170102133238.17811-1-carlo@zancanaro.id.au> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/python.scm (python-pbkdf2, python2-pbkdf2): New variables. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index fce62175b..2841830f0 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2016 Julien Lepiller ;;; Copyright © 2016, 2017 Tobias Geerinckx-Rice ;;; Copyright © 2016 Thomas Danckaert +;;; Copyright © 2017 Carlo Zancanaro ;;; ;;; This file is part of GNU Guix. ;;; @@ -12268,3 +12269,27 @@ possible on all supported Python versions.") (define-public python2-xopen (package-with-python2 python-xopen)) + +(define-public python-pbkdf2 + (package + (name "python-pbkdf2") + (version "1.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pbkdf2" version)) + (sha256 + (base32 + "0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc")))) + (build-system python-build-system) + (propagated-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page + "http://www.dlitz.net/software/python-pbkdf2/") + (synopsis "PKCS#5 v2.0 PBKDF2 Module") + (description "This module implements the password-based key derivation +function, PBKDF2, specified in RSA PKCS#5 v2.0.") + (license license:expat))) + +(define-public python2-pbkdf2 + (package-with-python2 python-pbkdf2)) -- 2.11.0