mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
python3Packages.sumo: 2.2.1 -> 2.2.4
This commit is contained in:
parent
e2cdb2fcc0
commit
497084577e
@ -1,37 +1,44 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
||||
{ lib, buildPythonPackage, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, h5py
|
||||
, matplotlib
|
||||
, numpy
|
||||
, phonopy
|
||||
, pymatgen
|
||||
, pytest
|
||||
, scipy
|
||||
, seekpath
|
||||
, spglib
|
||||
, castepxbin
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sumo";
|
||||
version = "2.2.1";
|
||||
version = "2.2.4";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
# No tests in Pypi tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "SMTG-UCL";
|
||||
repo = "sumo";
|
||||
rev = "v${version}";
|
||||
sha256 = "0r88f5w33h9b0mv7shlqc4przwvas5ycgndvl91wqjnm3b2s3ix0";
|
||||
sha256 = "051353gsxmh4qnabshfnc00mmzdbh1fgk1xdfnsfgcnijxgw25bb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy spglib pymatgen h5py matplotlib seekpath phonopy ];
|
||||
propagatedBuildInputs = [
|
||||
spglib
|
||||
numpy
|
||||
scipy
|
||||
h5py
|
||||
pymatgen
|
||||
phonopy
|
||||
matplotlib
|
||||
seekpath
|
||||
castepxbin
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest .
|
||||
'';
|
||||
|
||||
# tests have type annotations, can only run on 3.5+
|
||||
doCheck = (!isPy27);
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Toolkit for plotting and analysis of ab initio solid-state calculation data";
|
||||
|
Loading…
Reference in New Issue
Block a user