diff --git a/pkgs/development/python-modules/calmjs-parse/default.nix b/pkgs/development/python-modules/calmjs-parse/default.nix index 16722ff9d01d..59818f92153e 100644 --- a/pkgs/development/python-modules/calmjs-parse/default.nix +++ b/pkgs/development/python-modules/calmjs-parse/default.nix @@ -4,20 +4,20 @@ fetchFromGitHub, setuptools, ply, - python, + pytestCheckHook, }: buildPythonPackage rec { pname = "calmjs-parse"; - version = "1.3.2"; + version = "1.3.3"; pyproject = true; src = fetchFromGitHub { owner = "calmjs"; repo = "calmjs.parse"; - rev = version; - hash = "sha256-+tel9AJFaKqsuSjqS1KPyRjO6iU7V90ECSEYLBdfqZU="; + tag = version; + hash = "sha256-aGGIwQBHToujc69zzIeEbvmYwLKA5X3bamVWBRmJtSE="; }; postPatch = '' @@ -32,13 +32,9 @@ buildPythonPackage rec { ply ]; - checkPhase = '' - runHook preCheck - - ${python.interpreter} -m unittest calmjs.parse.tests.make_suite - - runHook postCheck - ''; + nativeCheckInputs = [ + pytestCheckHook + ]; pythonImportsCheck = [ "calmjs.parse"