Subject: [PATCH] gnu: Add python-srt.

From: Pradana Adrinusa AUMARS <[email-masked]>
Date: Sun, 22 May 2022 15:46:31 +0200

>From 681b38824f246167d611eb6d35fb76be5029080b Mon Sep 17 00:00:00 2001
From: Pradana AUMARS <[email-masked]>
Date: Sun, 22 May 2022 15:45:04 +0200
Subject: [PATCH] gnu: Add python-srt.

* gnu/packages/python-xyz (python-srt): New variable.
---
 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 3c4fa16d16..11b5f1d2f9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -107,7 +107,7 @@
 ;;; Copyright © 2021 Petr Hodina <[email-masked]>
 ;;; Copyright © 2021 Simon Streit <[email-masked]>
 ;;; Copyright © 2021 Daniel Meißner <[email-masked]>
-;;; Copyright © 2021 Pradana Aumars <[email-masked]>
+;;; Copyright © 2021, 2022 Pradana Aumars <[email-masked]>
 ;;; Copyright © 2021, 2022 Felix Gruber <[email-masked]>
 ;;; Copyright © 2021 Sébastien Lerique <[email-masked]>
 ;;; Copyright © 2021 Raphaël Mélotte <[email-masked]>
@@ -31449,3 +31449,21 @@ (define-public python-murmurhash
     (synopsis "Cython bindings for MurmurHash2")
     (description "This package provides Cython bindings for MurmurHash2.")
     (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
+  "Tiny but featureful Python library for parsing, modifying, and composing
+SRT files.")
+ (license license:expat)))
-- 
2.36.0