python.pkgs.spglib: fix tests

This commit is contained in:
Robert Schütz 2019-03-02 14:37:01 +01:00
parent 35fa04bec4
commit b1467cf56b

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, numpy, python }: { stdenv, buildPythonPackage, fetchPypi, numpy, nose, pyyaml }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "spglib"; pname = "spglib";
@ -11,10 +11,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ numpy ]; propagatedBuildInputs = [ numpy ];
checkPhase = '' checkInputs = [ nose pyyaml ];
cd test
${python.interpreter} -m unittest discover -bv
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Python bindings for C library for finding and handling crystal symmetries"; description = "Python bindings for C library for finding and handling crystal symmetries";