diff --git a/pkgs/development/python-modules/exdown/default.nix b/pkgs/development/python-modules/exdown/default.nix index 9daf9a00bfd0..d369b3645ab6 100644 --- a/pkgs/development/python-modules/exdown/default.nix +++ b/pkgs/development/python-modules/exdown/default.nix @@ -1,20 +1,30 @@ -{ lib, buildPythonPackage, isPy27, fetchPypi, pythonOlder -, importlib-metadata }: +{ lib +, buildPythonPackage +, isPy27 +, fetchPypi +, pythonOlder +, importlib-metadata +, pytestCheckHook +}: buildPythonPackage rec { pname = "exdown"; - version = "0.8.6"; + version = "0.9.0"; format = "pyproject"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "sha256-BCn+rkMxQSw/gO+dpzgpYSOqEiooWFzSh7LUYIFr6wE="; + sha256 = "sha256-r0SCigkUpOiba4MDf80+dLjOjjruVNILh/raWfvjXA0="; }; propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; + checkInputs = [ + pytestCheckHook + ]; + pythonImportsCheck = [ "exdown" ]; meta = with lib; {