gnu: Add python-txtorcon.

* gnu/packages/python-crypto.scm (python-txtorcon): New variable.
This commit is contained in:
Leo Famulari 2019-02-17 14:29:30 -05:00
parent fc681a18f5
commit 215f3db0e3
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 30 additions and 0 deletions

View File

@ -1036,3 +1036,33 @@ Derivation function (HKDF) defined in RFC 5869.")
(description "This package provides a Python implementation of the SPAKE2
Password-Authenticated Key Exchange algorithm.")
(license license:expat)))
(define-public python-txtorcon
(package
(name "python-txtorcon")
(version "19.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "txtorcon" version))
(sha256
(base32
"0fxzhsc62bhmr730vj9pzallmw56gz6iykvl28a5agrycm0bfc9p"))))
(build-system python-build-system)
(arguments
;; The tests fail immediately due to a missing file. Reported upstream:
;; <https://github.com/meejah/txtorcon/issues/330>
`(#:tests? #f))
(propagated-inputs
`(("python-automat" ,python-automat)
("python-idna" ,python-idna)
("python-incremental" ,python-incremental)
("python-ipaddress" ,python-ipaddress)
("python-service-identity" ,python-service-identity)
("python-twisted" ,python-twisted)
("python-zope-interface" ,python-zope-interface)))
(home-page "https://github.com/meejah/txtorcon")
(synopsis "Twisted-based Tor controller client")
(description "This package provides a Twisted-based Tor controller client,
with state-tracking and configuration abstractions.")
(license license:expat)))