mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
python3Packages.atomman: 1.2.8 -> 1.3.0
This commit is contained in:
parent
0bff5f6438
commit
f2db320482
@ -1,34 +1,33 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, xmltodict
|
||||
, datamodeldict
|
||||
, numpy
|
||||
, matplotlib
|
||||
, scipy
|
||||
, pandas
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy27
|
||||
, cython
|
||||
, datamodeldict
|
||||
, matplotlib
|
||||
, numericalunits
|
||||
, numpy
|
||||
, pandas
|
||||
, pytest
|
||||
, scipy
|
||||
, toolz
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.2.8";
|
||||
version = "1.3.0";
|
||||
pname = "atomman";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ed099fdceca2d733e81afb08d777e8e852a6e53660d6d268f3739b8d323ced9";
|
||||
src = fetchFromGitHub {
|
||||
owner = "usnistgov";
|
||||
repo = "atomman";
|
||||
rev = "v${version}";
|
||||
sha256 = "09pfykd96wmw00s3kgabghykjn8b4yjml4ybpi7kwy7ygdmzcx51";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ xmltodict datamodeldict numpy matplotlib scipy pandas cython numericalunits ];
|
||||
|
||||
# tests not included with Pypi release
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [ xmltodict datamodeldict numpy matplotlib scipy pandas cython numericalunits toolz ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test tests
|
||||
py.test tests -k 'not test_atomic'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user