python3Packages.srt: init at 3.5.2

This commit is contained in:
Frido Friedemann 2022-05-17 19:25:47 +02:00
parent d37086b4bf
commit 00bcf67292
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,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 ];
};
}

View file

@ -9915,6 +9915,8 @@ in {
srsly = callPackage ../development/python-modules/srsly { };
srt = callPackage ../development/python-modules/srt { };
srvlookup = callPackage ../development/python-modules/srvlookup { };
ssdeep = callPackage ../development/python-modules/ssdeep {