From c6e8d17b02a840fb742437dacbcde9ca293a8f2e Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 11 Sep 2020 12:45:24 -0400 Subject: 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..22b1a1ebe3 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -64,6 +64,30 @@ (define-module (gnu packages python-crypto) #: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 + `(("python-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") -- cgit v1.2.3