1{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, numpy, nose, pyyaml }:
2
3buildPythonPackage rec {
4 pname = "spglib";
5 version = "1.16.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "94d056e48e7e6fe2e6fe4161471e774ac03221a6225fd83d551d3184220c1edf";
10 };
11
12 propagatedBuildInputs = [ numpy ];
13
14 checkInputs = [ nose pyyaml ];
15
16 meta = with stdenv.lib; {
17 description = "Python bindings for C library for finding and handling crystal symmetries";
18 homepage = "https://atztogo.github.io/spglib";
19 license = licenses.bsd3;
20 maintainers = with maintainers; [ psyanticy ];
21 };
22}
23