From ae59dca506da9faa5be69ba65bc3a70c14f64267 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 11 Sep 2020 12:45:24 -0400 Subject: [PATCH 2/3] gnu: Add python-potr. * gnu/packages/python-crypto.scm (python-potr): New variable. --- gnu/packages/python-crypto.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 76f2ba18e1..cfc64e4b45 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -64,6 +64,30 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (srfi srfi-1)) +(define-public python-potr + (package + (name "python-potr") + (version "1.0.2") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/python-otr/pure-python-otr.git") + (commit version))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "1hzw6h01fm216nmipyylgz0zybd80w1xsk12m7djycnhqrnrvvv1")))) + (build-system python-build-system) + (propagated-inputs + `(("pycrypto" ,python-pycrypto))) + (synopsis "Python OTR Implementation") + (description "Python OTR is an Off-The-Record Protocol Implementation in +Python. It does not bind to libotr.") + (home-page "https://github.com/python-otr/pure-python-otr") + (license license:lgpl3))) + (define-public python-base58 (package (name "python-base58") -- 2.28.0