python.pkgs.spglib: fix tests
This commit is contained in:
parent
35fa04bec4
commit
b1467cf56b
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user