civodul pushed a commit to branch master
in repository guix.
commit 5bfb7ebe5dd3011d766a98cb9875399fb836c4b1
Author: Pradana AUMARS <[email protected]>
AuthorDate: Sun May 22 15:45:04 2022 +0200
gnu: Add python-srt.
* gnu/packages/python-xyz (python-srt): New variable.
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/python-xyz.scm | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c010d87a01..04726c7828 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -107,7 +107,7 @@
;;; Copyright © 2021 Petr Hodina <[email protected]>
;;; Copyright © 2021 Simon Streit <[email protected]>
;;; Copyright © 2021 Daniel Meißner <[email protected]>
-;;; Copyright © 2021 Pradana Aumars <[email protected]>
+;;; Copyright © 2021, 2022 Pradana Aumars <[email protected]>
;;; Copyright © 2021, 2022 Felix Gruber <[email protected]>
;;; Copyright © 2021 Sébastien Lerique <[email protected]>
;;; Copyright © 2021 Raphaël Mélotte <[email protected]>
@@ -31787,3 +31787,21 @@ Pickle for serialization, which has many drawbacks.")
"This package provides a lightweight console printing and formatting
toolkit for Python.")
(license license:expat)))
+
+(define-public python-srt
+ (package
+ (name "python-srt")
+ (version "3.5.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "srt" version))
+ (sha256
+ (base32
+ "0l24710spxarijmv3h7iicvx0lv6m3d4xg77nd9kyv8jwifav93s"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/cdown/srt")
+ (synopsis "SRT parsing library")
+ (description
+ "This package provides a Python library for parsing, modifying, and
+composing subtitles in the SRT file format.")
+ (license license:expat)))