From patchwork Thu Oct 20 10:15:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun X-Patchwork-Id: 16685 Received: (qmail 40344 invoked by uid 89); 20 Oct 2016 10:15:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=H*MI:sk:2016102, Hx-languages-length:1950, H*f:sk:2016102, H*i:sk:2016102 X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Oct 2016 10:15:46 +0000 Received: from localhost ([::1]:53610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxAO1-0001vy-3u for patchwork@sourceware.org; Thu, 20 Oct 2016 06:15:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxANr-0001vf-2Y for guix-devel@gnu.org; Thu, 20 Oct 2016 06:15:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxANo-0004E7-Ti for guix-devel@gnu.org; Thu, 20 Oct 2016 06:15:35 -0400 Received: from [117.218.232.8] (port=52178 helo=systemreboot.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxANo-0004BK-Ct for guix-devel@gnu.org; Thu, 20 Oct 2016 06:15:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=x; h=References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=u34cTfmYF9EgbQcyddLWznpFyiZvSNuDoR5hUJmGpG4=; b=CjDTmYkVCXEuzgtn/BlKSsQino necKC4AfB5xm7x6EXw/pW6vP6udv4exvoFuxW2iFZU8Ulz3plHT4NNVZ32CXFPo0hIBFSMerRJAC8 AP+b+/T9ubiWE3R69C/KK/cVnpJIZCAH5xK2fGAfuaiF/vxXlVcFeCReRkbUACunv+/muLcGfukzS qwXBKh9mFBuYKPAUMxeh7sTnvTRie8DnbIa4kSV7C2gwMBui+0nBPIIB1S3u81eCoB5MEyq4XfOZh XYJJObyQ1sdL6aVgkpJG0cX6gbmUmLAOjp8ojMFiNyY5AFIAOqQs8vSPl4r4foYtz0xpNxXjBHlBp dx5UjUbg==; Received: from [45.125.40.129] (helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1bxANk-0000tl-VJ; Thu, 20 Oct 2016 15:45:29 +0530 From: Arun Isaac To: guix-devel@gnu.org Subject: [PATCH 2/2] gnu: Add python-axolotl. Date: Thu, 20 Oct 2016 15:45:04 +0530 Message-Id: <20161020101504.7191-2-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161020101504.7191-1-arunisaac@systemreboot.net> References: <20161020101504.7191-1-arunisaac@systemreboot.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 117.218.232.8 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/python.scm (python-axolotl, python2-axolotl): New variables. --- gnu/packages/python.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 8c6481a..085d8ea 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -11260,3 +11260,46 @@ python-axolotl.") (define-public python2-axolotl-curve25519 (package-with-python2 python-axolotl-curve25519)) + +(define-public python-axolotl + (package + (name "python-axolotl") + (version "0.1.35") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/tgalal/python-axolotl/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1z8d89p7v40p4bwywjm9h4z28fdvra79ddw06azlkrfjbl7dxmz8")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Don't install tests + (add-before 'install 'remove-tests + (lambda _ + (for-each delete-file-recursively + '("axolotl/tests" "build/lib/axolotl/tests")) + #t))) + ;; Prevent creation of the egg. This works around + ;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20765 + #:configure-flags '("--root=/"))) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (propagated-inputs + `(("python-axolotl-curve25519" ,python-axolotl-curve25519) + ("python-dateutil" ,python-dateutil) + ("python-protobuf" ,python-protobuf) + ("python-pycrypto" ,python-pycrypto))) + (home-page "https://github.com/tgalal/python-axolotl") + (synopsis "Python port of libaxolotl-android") + (description "This is a python port of libaxolotl-android. This +is a ratcheting forward secrecy protocol that works in synchronous and +asynchronous messaging environments.") + (license license:gpl3))) + +(define-public python2-axolotl + (package-with-python2 python-axolotl))