aboutsummaryrefslogtreecommitdiff
path: root/guix-python-axolotl-package.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix-python-axolotl-package.scm')
-rw-r--r--guix-python-axolotl-package.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/guix-python-axolotl-package.scm b/guix-python-axolotl-package.scm
new file mode 100644
index 0000000..df3becf
--- /dev/null
+++ b/guix-python-axolotl-package.scm
@@ -0,0 +1,29 @@
+(define-public python-axolotl
+ (package
+ (name "python-axolotl")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-axolotl" version))
+ (sha256
+ (base32
+ "1bwdp24fmriffwx91aigs9k162albb51iskp23nc939z893q23py"))))
+ (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)))))
+ (propagated-inputs
+ (list python-axolotl-curve25519 python-cryptography python-protobuf))
+ (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)))