pgsrip: 0.1.11 -> 0.1.12; python3Packages.trakit: 0.2.2 -> 0.2.5; python3Packages.cleanit: 0.4.8 -> 0.4.9 (#429285)

This commit is contained in:
isabel
2025-08-14 20:53:50 +01:00
committed by GitHub
3 changed files with 22 additions and 25 deletions
+7 -9
View File
@@ -2,21 +2,20 @@
lib,
python3Packages,
fetchFromGitHub,
nix-update-script,
}:
python3Packages.buildPythonApplication rec {
pname = "pgsrip";
version = "0.1.11";
version = "0.1.12";
pyproject = true;
disabled = python3Packages.pythonOlder "3.9";
disabled = python3Packages.pythonOlder "3.11";
src = fetchFromGitHub {
owner = "ratoaq2";
repo = "pgsrip";
rev = version;
hash = "sha256-H9gZXge+m/bCq25Fv91oFZ8Cq2SRNrKhOaDrLZkjazg=";
tag = version;
hash = "sha256-8UzElhMdhjZERdogtAbkcfw67blk9lOTQ09vjF5SXm4=";
};
build-system = [ python3Packages.poetry-core ];
@@ -34,16 +33,15 @@ python3Packages.buildPythonApplication rec {
];
pythonRelaxDeps = [
"numpy"
"click"
"opencv-python"
"setuptools"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Rip your PGS subtitles";
homepage = "https://github.com/ratoaq2/pgsrip";
changelog = "https://github.com/ratoaq2/pgsrip/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/ratoaq2/pgsrip/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eljamm ];
mainProgram = "pgsrip";
@@ -3,7 +3,6 @@
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
nix-update-script,
# build dependencies
poetry-core,
@@ -23,16 +22,16 @@
buildPythonPackage rec {
pname = "cleanit";
version = "0.4.8";
version = "0.4.9";
pyproject = true;
disabled = pythonOlder "3.9";
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "ratoaq2";
repo = "cleanit";
rev = version;
hash = "sha256-z1QAWWm+yg/pRCQfPqGbL0EFFT9UwqIkwhmjUuRHyuk=";
tag = version;
hash = "sha256-5fzBcOr6PGp847S7qLsXgYKxPcGW4mM5B5QNBSvH7BM=";
};
build-system = [ poetry-core ];
@@ -47,16 +46,19 @@ buildPythonPackage rec {
pyyaml
];
pythonRelaxDeps = [
"click"
"jsonschema"
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "cleanit" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Command line tool that helps you to keep your subtitles clean";
homepage = "https://github.com/ratoaq2/cleanit";
changelog = "https://github.com/ratoaq2/cleanit/releases/tag/${version}";
changelog = "https://github.com/ratoaq2/cleanit/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ eljamm ];
mainProgram = "cleanit";
@@ -3,7 +3,6 @@
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
nix-update-script,
# build dependencies
poetry-core,
@@ -20,16 +19,16 @@
buildPythonPackage rec {
pname = "trakit";
version = "0.2.2";
version = "0.2.5";
pyproject = true;
disabled = pythonOlder "3.9";
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "ratoaq2";
repo = "trakit";
rev = version;
hash = "sha256-VV+pdsQ5WEALYZgu4AmvNce1rCTLSYPZtTMjh+aExsU=";
tag = version;
hash = "sha256-x/83yRzvQ81+wS0lJr52KYBMoPvSVDr17ppxG/lSfUg=";
};
build-system = [ poetry-core ];
@@ -52,12 +51,10 @@ buildPythonPackage rec {
pythonImportsCheck = [ "trakit" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Guess additional information from track titles";
homepage = "https://github.com/ratoaq2/trakit";
changelog = "https://github.com/ratoaq2/trakit/releases/tag/${version}";
changelog = "https://github.com/ratoaq2/trakit/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eljamm ];
};