python3Packages.atomman: 1.2.8 -> 1.3.0

This commit is contained in:
Jonathan Ringer 2019-11-27 16:43:32 -08:00 committed by Jon
parent 0bff5f6438
commit f2db320482

View File

@ -1,34 +1,33 @@
{ stdenv { stdenv, buildPythonPackage, fetchFromGitHub, isPy27
, buildPythonPackage
, fetchPypi
, xmltodict
, datamodeldict
, numpy
, matplotlib
, scipy
, pandas
, cython , cython
, datamodeldict
, matplotlib
, numericalunits , numericalunits
, numpy
, pandas
, pytest , pytest
, scipy
, toolz
, xmltodict
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "1.2.8"; version = "1.3.0";
pname = "atomman"; pname = "atomman";
disabled = isPy27;
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "usnistgov";
sha256 = "0ed099fdceca2d733e81afb08d777e8e852a6e53660d6d268f3739b8d323ced9"; repo = "atomman";
rev = "v${version}";
sha256 = "09pfykd96wmw00s3kgabghykjn8b4yjml4ybpi7kwy7ygdmzcx51";
}; };
checkInputs = [ pytest ]; checkInputs = [ pytest ];
propagatedBuildInputs = [ xmltodict datamodeldict numpy matplotlib scipy pandas cython numericalunits ]; propagatedBuildInputs = [ xmltodict datamodeldict numpy matplotlib scipy pandas cython numericalunits toolz ];
# tests not included with Pypi release
doCheck = false;
checkPhase = '' checkPhase = ''
py.test tests py.test tests -k 'not test_atomic'
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {