pythonPackages.pysubs2: init at 1.6.1 (#238877)

This commit is contained in:
Benjamin Lee
2023-07-03 16:04:35 +02:00
committed by GitHub
parent c72ec82396
commit 4f36ba2e6f
2 changed files with 40 additions and 0 deletions
@@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, setuptools
}:
buildPythonPackage rec {
pname = "pysubs2";
version = "1.6.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "tkarabela";
repo = pname;
rev = version;
hash = "sha256-0bW9aB6ERRQK3psqeU0Siyi/8drEGisAp8UtTfOKlp0=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pysubs2"
];
meta = with lib; {
homepage = "https://github.com/tkarabela/pysubs2";
description = "A Python library for editing subtitle files";
license = licenses.mit;
maintainers = with maintainers; [ Benjamin-L ];
};
}
+2
View File
@@ -7897,6 +7897,8 @@ self: super: with self; {
pysolcast = callPackage ../development/python-modules/pysolcast { };
pysubs2 = callPackage ../development/python-modules/pysubs2 { };
pysqlitecipher = callPackage ../development/python-modules/pysqlitecipher { };
pysyncthru = callPackage ../development/python-modules/pysyncthru { };