2021-05-08 10:05:23 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, pymatgen
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "castepxbin";
|
2021-11-25 23:46:40 +01:00
|
|
|
version = "0.2.0";
|
2021-05-08 10:05:23 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zhubonan";
|
|
|
|
repo = "castepxbin";
|
|
|
|
rev = "v${version}";
|
2021-11-25 23:46:40 +01:00
|
|
|
sha256 = "0bqicpdyisbcz8argy4ppm59zzkcn9lcs4y1mh2f31f75x732na3";
|
2021-05-08 10:05:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
scipy
|
|
|
|
pymatgen
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A collection of readers for CASTEP binary outputs";
|
|
|
|
homepage = "https://github.com/zhubonan/castepxbin";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|