diff --git a/pkgs/by-name/st/style50/package.nix b/pkgs/by-name/st/style50/package.nix index f9397b5b806b..f6e55ca2f248 100644 --- a/pkgs/by-name/st/style50/package.nix +++ b/pkgs/by-name/st/style50/package.nix @@ -2,20 +2,21 @@ lib, python3Packages, fetchFromGitHub, + djhtml, libclang, versionCheckHook, }: python3Packages.buildPythonApplication (finalAttrs: { pname = "style50"; - version = "2.11.0"; + version = "3.0.0"; pyproject = true; src = fetchFromGitHub { owner = "cs50"; repo = "style50"; tag = "v${finalAttrs.version}"; - hash = "sha256-THmxq69peJwT3XQKEpT+ooBYaDDkn1HHGVH5rvM/FF8="; + hash = "sha256-D2ucfVVGZFzmcAUyOfu97QJ8x9pzRo1hYrwZlV8MRN8="; }; build-system = [ @@ -24,11 +25,14 @@ python3Packages.buildPythonApplication (finalAttrs: { dependencies = with python3Packages; [ autopep8 + cssbeautifier + djhtml icdiff jinja2 jsbeautifier pycodestyle python-magic + sqlparse termcolor ]; @@ -50,9 +54,10 @@ python3Packages.buildPythonApplication (finalAttrs: { pythonImportsCheck = [ "style50" ]; - nativeCheckInputs = [ versionCheckHook ]; - - # no python tests + nativeCheckInputs = [ + python3Packages.pytestCheckHook + versionCheckHook + ]; meta = { description = "Tool for checking code against the CS50 style guide";