1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hypothesis,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "srt";
11 version = "3.5.3";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-SIQxUEOk8HQP0fh47WyqN2rAbXDhNfMGptxEYy7tDMA=";
17 };
18
19 nativeCheckInputs = [
20 hypothesis
21 pytestCheckHook
22 ];
23
24 pythonImportsCheck = [ "srt" ];
25
26 meta = with lib; {
27 homepage = "https://github.com/cdown/srt";
28 description = "Tiny but featureful Python library for parsing, modifying, and composing SRT files";
29 license = licenses.bsd3;
30 maintainers = [ ];
31 };
32}