summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorPradana AUMARS <paumars@courrier.dev>2022-05-22 15:45:04 +0200
committerLudovic Courtès <ludo@gnu.org>2022-05-27 23:34:29 +0200
commit5bfb7ebe5dd3011d766a98cb9875399fb836c4b1 (patch)
tree3c1436a506cd39f2e6db9d6141ff1d9902198cee /gnu/packages
parent6caac30e444ef9d0ca7e303ff72be1139453e833 (diff)
gnu: Add python-srt.
* gnu/packages/python-xyz (python-srt): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm20
1 files changed, 19 insertions, 1 deletions
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 <phodina@protonmail.com>
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
;;; Copyright © 2021 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de>
-;;; Copyright © 2021 Pradana Aumars <paumars@courrier.dev>
+;;; Copyright © 2021, 2022 Pradana Aumars <paumars@courrier.dev>
;;; Copyright © 2021, 2022 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org>
;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be>
@@ -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)))