diff --git a/pkgs/development/python-modules/mdformat-beautysh/default.nix b/pkgs/development/python-modules/mdformat-beautysh/default.nix index 779f89f7769c..547d289f6f95 100644 --- a/pkgs/development/python-modules/mdformat-beautysh/default.nix +++ b/pkgs/development/python-modules/mdformat-beautysh/default.nix @@ -6,6 +6,7 @@ , mdformat-gfm , mdit-py-plugins , poetry-core +, pytestCheckHook , pythonOlder , wheel }: @@ -39,6 +40,14 @@ buildPythonPackage rec { beautysh ]; + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "mdformat_beautysh" + ]; + meta = with lib; { description = "Mdformat plugin to beautify Bash scripts"; homepage = "https://github.com/hukkin/mdformat-beautysh";