diff --git a/pkgs/development/python-modules/cleanit/default.nix b/pkgs/development/python-modules/cleanit/default.nix index 7ce39e3392a5..931bc897bd7c 100644 --- a/pkgs/development/python-modules/cleanit/default.nix +++ b/pkgs/development/python-modules/cleanit/default.nix @@ -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";