1{ stdenv, buildPythonPackage, fetchPypi, numpy, nose, pyyaml }:
2
3buildPythonPackage rec {
4 pname = "spglib";
5 version = "1.12.2.post0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "15b02b74c0f06179bc3650c43a710a5200abbba387c6eda3105bfd9236041443";
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