Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
969 B
Nix
Raw Permalink Normal View History

{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
pname = "pgsrip";
2025-07-29 08:55:45 +02:00
version = "0.1.12";
pyproject = true;
2025-07-29 08:55:45 +02:00
disabled = python3Packages.pythonOlder "3.11";
src = fetchFromGitHub {
owner = "ratoaq2";
repo = "pgsrip";
2025-07-29 08:55:45 +02:00
tag = version;
hash = "sha256-8UzElhMdhjZERdogtAbkcfw67blk9lOTQ09vjF5SXm4=";
};
build-system = [ python3Packages.poetry-core ];
dependencies = with python3Packages; [
babelfish
cleanit
click
numpy
opencv-python
pysrt
pytesseract
setuptools
trakit
];
pythonRelaxDeps = [
2025-07-29 08:55:45 +02:00
"click"
"opencv-python"
"setuptools"
];
meta = {
description = "Rip your PGS subtitles";
homepage = "https://github.com/ratoaq2/pgsrip";
2025-07-29 08:55:45 +02:00
changelog = "https://github.com/ratoaq2/pgsrip/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eljamm ];
mainProgram = "pgsrip";
};
}