2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, numpy, nose, pyyaml }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "spglib";
|
2020-05-29 06:06:01 +00:00
|
|
|
version = "1.15.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-29 06:06:01 +00:00
|
|
|
sha256 = "0c1nbpd5wy361xga8lw36xwc9yyz7rylsjr0z7aw7bn3s35bnkbx";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
|
|
|
|
checkInputs = [ nose pyyaml ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python bindings for C library for finding and handling crystal symmetries";
|
|
|
|
homepage = "https://atztogo.github.io/spglib";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|