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 {
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";