python3Packages.cleanit: 0.4.8 -> 0.4.9

This commit is contained in:
eljamm 2025-07-29 08:53:48 +02:00
parent e9ec77db0f
commit 4167715826

View File

@ -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";