diff --git a/pkgs/development/python-modules/spglib/default.nix b/pkgs/development/python-modules/spglib/default.nix index 9d87ec42cc1..7428e6e9e91 100644 --- a/pkgs/development/python-modules/spglib/default.nix +++ b/pkgs/development/python-modules/spglib/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPythonPackage, fetchPypi, numpy, python }: +{ stdenv, buildPythonPackage, fetchPypi, numpy, nose, pyyaml }: buildPythonPackage rec { pname = "spglib"; @@ -11,10 +11,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ numpy ]; - checkPhase = '' - cd test - ${python.interpreter} -m unittest discover -bv - ''; + checkInputs = [ nose pyyaml ]; meta = with stdenv.lib; { description = "Python bindings for C library for finding and handling crystal symmetries";