aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-04-02 20:20:43 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-04-02 20:55:16 +0200
commit87ba9efc6d4fed9abe282ae44c111bd99512bd50 (patch)
tree224b210ccb3e40811cc206775b4c29f76d3b31fd /gnu/packages
parentbdbe69f6596aeff4cba76ba40b7afffb1b106ca0 (diff)
downloadguix-87ba9efc6d4fed9abe282ae44c111bd99512bd50.tar
guix-87ba9efc6d4fed9abe282ae44c111bd99512bd50.tar.gz
gnu: Add python-txsni.
* gnu/packages/python-xyz.scm: (python-txsni) New variable. Co-authored-by: Alex ter Weele <alex.ter.weele@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 901b241a24..52430555da 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19043,3 +19043,31 @@ happened, and what caused it.")
(description
"This package provides a Python module for parsing and splitting PEM files.")
(license license:expat)))
+
+(define-public python-txsni
+ ;; We need a few commits on top of 0.1.9 for compatibility with newer
+ ;; Python and OpenSSL.
+ (let ((commit "5014c141a7acef63e20fcf6c36fa07f0cd754ce1")
+ (revision "0"))
+ (package
+ (name "python-txsni")
+ (version (git-version "0.1.9" revision commit))
+ (home-page "https://github.com/glyph/txsni")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0imfxx4yjj1lbq0n5ad45al3wvv4qv96sivnc1r51i66mxi658z8"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pyopenssl" ,python-pyopenssl)
+ ("python-service-identity" ,python-service-identity)
+ ("python-twisted" ,python-twisted)))
+ (synopsis "Run TLS servers with Twisted")
+ (description
+ "This package provides an easy-to-use SNI endpoint for use
+with the Twisted web framework.")
+ (license license:expat))))