Revert "gnu: Add python-proton-client."

This reverts commit 345ae8c40f,
which was accidentally pushed.
This commit is contained in:
Raghav Gururajan 2022-07-10 12:04:00 -04:00
parent 345ae8c40f
commit e47d8d1139
No known key found for this signature in database
GPG key ID: 5F5816647F8BE551

View file

@ -98,7 +98,7 @@
;;; Copyright © 2021 Ellis Kenyő <me@elken.dev>
;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021, 2022 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2021 Danial Behzadi <dani.behzi@ubuntu.com>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
@ -939,7 +939,7 @@ (define-public python-glymur
(string-append
"if libname == \"openjp2\":\n"
" path = \""
(search-input-file inputs "/lib/libopenjp2.so") "\"\n"t
(search-input-file inputs "/lib/libopenjp2.so") "\"\n"
" elif libname == \"tiff\":\n"
" path = \""
(search-input-file inputs "/lib/libtiff.so") "\"\n"
@ -30125,33 +30125,3 @@ (define-public python-geomet
GeoJSON to WKT/WKB (Well-Known Text/Binary) or GeoPackage Binary, and vice
versa. Extended WKB/WKT are also supported.")
(license license:asl2.0)))
(define-public python-proton-client
(package
(name "python-proton-client")
(version "0.7.1")
(source (origin
(method git-fetch)
(uri (git-reference
;; PyPi doesn't have the latest version.
(url "https://github.com/ProtonMail/proton-python-client")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"164b6451nakyfcjqq11xn32iv3xccsi9bjjq2gzfs2nbxzsfl4ws"))))
(build-system python-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(add-after 'unpack 'patch-libssl-path
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "proton/srp/_ctsrp.py"
(("libssl\\.so")
(search-input-file inputs "/lib/libssl.so"))))))))
(inputs (list openssl))
(propagated-inputs (list python-bcrypt python-gnupg python-pyopenssl
python-requests))
(home-page "https://github.com/ProtonMail/proton-python-client")
(synopsis "Proton client module")
(description "Proton client is a python module that provides Proton API.")
(license license:gpl3+)))