blob: b6a5f4df097d8cbe2afff66f2e75cd01fc97c23d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ lib
, buildPythonPackage
, fetchPypi
, hypothesis
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "srt";
version = "3.5.2";
disabled = pythonOlder "2.7";
src = fetchPypi {
inherit pname version;
sha256 = "7aa4ad5ce4126d3f53b3e7bc4edaa86653d0378bf1c0b1ab8c59f5ab41384450";
};
checkInputs = [
hypothesis
pytestCheckHook
];
pythonImportsCheck = [ "srt" ];
meta = with lib; {
homepage = "https://github.com/cdown/srt";
description = "A tiny but featureful Python library for parsing, modifying, and composing SRT files";
license = licenses.bsd3;
maintainers = with maintainers; [ friedelino ];
};
}
|