summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-19 21:35:05 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-19 21:35:05 +0100
commit19c2933c81b0093c3a9da421dc244e213bc952f8 (patch)
tree6e7096e435808ea9f8530b7833c1732725f87512 /gnu
parentf0a484cc75e310742ef344b2062ca3c8e2e7b044 (diff)
gnu: python-txsni: Move to python-web.
* gnu/packages/python-xyz.scm (python-txsni): Move from here ... * gnu/packages/python-web.scm: ... to here. Change-Id: Iec202f8ddc7d0f36d383aa679e35847b8f4082dd
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-web.scm32
-rw-r--r--gnu/packages/python-xyz.scm32
2 files changed, 32 insertions, 32 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 169b09e34fb..a783081b5b4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3845,6 +3845,38 @@ high-speed transfers via libcurl and frequently outperforms alternatives.")
;; under the terms of LGPLv2.1+ or Expat.
(license (list license:lgpl2.1+ license:expat))))
+(define-public python-txsni
+ (package
+ (name "python-txsni")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/glyph/txsni")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1fl8xi7vl24hwbva5v41l6nsrbkj2l2mlsgcvdjxgph61aznwywq"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:test-backend #~'custom
+ #:test-flags #~(list "-m" "twisted.trial"
+ "--temp-directory=/tmp/_trial_temp"
+ "txsni")))
+ (native-inputs
+ (list python-setuptools))
+ (propagated-inputs
+ (list python-pyopenssl
+ python-service-identity
+ python-twisted))
+ (home-page "https://github.com/glyph/txsni")
+ (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)))
+
(define-public python-url-normalize
(package
(name "python-url-normalize")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bfc530b5c2a..8c2c0b1d512 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31997,38 +31997,6 @@ happened, and what caused it.")
"This package provides a Python module for parsing and splitting PEM files.")
(license license:expat)))
-(define-public python-txsni
- (package
- (name "python-txsni")
- (version "0.2.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/glyph/txsni")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1fl8xi7vl24hwbva5v41l6nsrbkj2l2mlsgcvdjxgph61aznwywq"))))
- (build-system pyproject-build-system)
- (arguments
- (list #:test-backend #~'custom
- #:test-flags #~(list "-m" "twisted.trial"
- "--temp-directory=/tmp/_trial_temp"
- "txsni")))
- (native-inputs
- (list python-setuptools))
- (propagated-inputs
- (list python-pyopenssl
- python-service-identity
- python-twisted))
- (home-page "https://github.com/glyph/txsni")
- (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)))
-
(define-public python-txacme
;; 0.9.3 tag was placed in 2020 and there a lot of changes providing
;; compatibility wit twisted, use the latest commit from trunk branch.